diff options
Diffstat (limited to 'ACE/include/makeinclude/platform_sunos4_g++.GNU')
-rw-r--r-- | ACE/include/makeinclude/platform_sunos4_g++.GNU | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_sunos4_g++.GNU b/ACE/include/makeinclude/platform_sunos4_g++.GNU new file mode 100644 index 00000000000..b80e9a14c2b --- /dev/null +++ b/ACE/include/makeinclude/platform_sunos4_g++.GNU @@ -0,0 +1,33 @@ +# $Id$ + +# SunOS 4.x (Solaris 1.x) with g++ + +debug ?= 1 +optimize ?= 1 + +CC = gcc +CXX = g++ +CFLAGS += -fno-strict-prototypes + +DCFLAGS += -g +DLD = /bin/ld +LD = $(CXX) +# +# for G++ v2.6.0 +OCFLAGS += -O2 +PIC = -fpic +AR = ar +ARFLAGS = ruv +RANLIB = ranlib +SOFLAGS += -assert pure-text +# SOBUILD - compile into .so directly +SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< +# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< +PRELIB = @true + +# Test for template instantiation, add to SOFLAGS if SONAME set, +# add -E to LDFLAGS if using GNU ld +# +include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU + +CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) |