diff options
author | Steve Huston <shuston@riverace.com> | 1998-10-30 01:04:50 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1998-10-30 01:04:50 +0000 |
commit | fb96af8d3548771922cc8de9337d254cab7fb55f (patch) | |
tree | fcb621ecb320f299f0e7ee5d4460104c9285a863 /include | |
parent | 9e8939ed58f658189ed5ac92db98d42159ed1a36 (diff) | |
download | ATCD-fb96af8d3548771922cc8de9337d254cab7fb55f.tar.gz |
New file, contributed by Ian Wright <I.Wright@elsevier.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_aix_g++.GNU | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/makeinclude/platform_aix_g++.GNU b/include/makeinclude/platform_aix_g++.GNU new file mode 100644 index 00000000000..e3762f17957 --- /dev/null +++ b/include/makeinclude/platform_aix_g++.GNU @@ -0,0 +1,31 @@ +# $Id$ +# +# Platform macros for building on AIX with g++. This has been tested on +# AIX 4.1.4 and gcc 2.7.2.3. +# +# A note - later versions of gcc(>2.7.2.3, I don't know which) have a -mthreads +# flag which does the same job more elegantly. +# I haven't managed to get the shared library to work. +# I know having tli_r and tli is a bad idea, but it won't link otherwise. +# +# Contributed by Ian Wright <I.Wright@elsevier.co.uk> + +debug = 1 +static_libs_only = 1 + +CC = gcc +CXX = gcc +CFLAGS += -W -Wall -nostdlib -mcpu=common +CCFLAGS += $(CFLAGS) -fno-implicit-templates +#only needed for one of the tests and causes compiler errors in building libACE +#CCFLAGS += -fhandle-exceptions +DCFLAGS += -g +DLD = $(CXX) +LD = $(CXX) +OCFLAGS = -O2 +OCCFLAGS = $(OCFLAGS) +LIBS += /lib/crt0_r.o -L/usr/lib/threads -lsvld -lC_r -lpthreads +-lc_r -ltli_r -lg++ -lstdc++ -lm -lg -ltli -lgcc +PIC = -fPIC +ARFLAGS = cruv +RANLIB = ranlib |