summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_osf1_4.x_g++.GNU
diff options
context:
space:
mode:
authorkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-08 19:22:38 +0000
committerkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-08 19:22:38 +0000
commitd593e3008cde3ee410bdf360303456e7951f7d64 (patch)
treedce879870e60340eada663baa479000434c236a8 /include/makeinclude/platform_osf1_4.x_g++.GNU
parenta25afc18be2d44d406b8430db5304a4d125a6023 (diff)
downloadATCD-d593e3008cde3ee410bdf360303456e7951f7d64.tar.gz
ChangeLogTag: Wed Aug 8 14:06:36 2001 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'include/makeinclude/platform_osf1_4.x_g++.GNU')
-rw-r--r--include/makeinclude/platform_osf1_4.x_g++.GNU41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/makeinclude/platform_osf1_4.x_g++.GNU b/include/makeinclude/platform_osf1_4.x_g++.GNU
new file mode 100644
index 00000000000..0f3f03b02ae
--- /dev/null
+++ b/include/makeinclude/platform_osf1_4.x_g++.GNU
@@ -0,0 +1,41 @@
+# $Id$
+
+# This platform macros file is intended to work with Digital UNIX 4.x
+# (OSF/1 4.x) and GCC in version 2.7.2.1 (or newer).
+
+ifeq (,$(debug))
+ debug = 1
+endif
+
+ifeq (,$(exceptions))
+ exceptions = 1
+endif
+ifeq (,$(rtti))
+ rtti = 1
+endif
+
+ifeq (,$(threads))
+ threads = 1
+endif
+
+ifeq (,$(optimize))
+ optimize = 1
+endif
+
+CC = gcc
+CXX = g++
+CFLAGS += -D_REENTRANT
+CCFLAGS += $(CFLAGS) -fno-implicit-templates -fno-strict-prototypes
+DCFLAGS += -g
+LD = $(CXX)
+DLD = $(CXX)
+LIBS += -lpthread -lmach -lexc -ltli -lrt
+OCFLAGS += -O2
+PIC = -fpic
+ARFLAGS = cruvZ
+# When libraries are archived, a hash index is automatically created so there
+# is no need for ranlib
+RANLIB = /usr/bin/true
+SOFLAGS = -shared $(CPPFLAGS) $(ACELIB)
+SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
+PRELIB = @true