diff options
Diffstat (limited to 'include/makeinclude/platform_linux.GNU')
-rw-r--r-- | include/makeinclude/platform_linux.GNU | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/makeinclude/platform_linux.GNU b/include/makeinclude/platform_linux.GNU new file mode 100644 index 00000000000..cde3987019c --- /dev/null +++ b/include/makeinclude/platform_linux.GNU @@ -0,0 +1,18 @@ +# According to Bryon G. Rigg <bgrigg@opus.bcbnet.com>, this file +# should allow ACE to be built on Linux. + +CC = gcc -w +CXX = gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__ +DLD = $(CXX) +LIBS = -lstdc++ +PIC = -fPIC +AR = ar +ARFLAGS = ruv +RANLIB = ranlib + +SOFLAGS = $(CPPFLAGS) -shared +SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< +PRELIB = (echo "main() { }" > gcctemp.c && \ + $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ + $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ + status=$$?; exit $$status) |