summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-23 05:01:35 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-23 05:01:35 +0000
commit040c0745b403995577466b53d74b028af9b774f3 (patch)
treebd6db9ae9f812efbaf53349ec786e8b224cb5e06 /include
parent67626f789adeb45904555a1fe476c8a8fc64a551 (diff)
downloadATCD-040c0745b403995577466b53d74b028af9b774f3.tar.gz
added GreenHills/Solaris support
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_sunos5_ghs.GNU32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/makeinclude/platform_sunos5_ghs.GNU b/include/makeinclude/platform_sunos5_ghs.GNU
new file mode 100644
index 00000000000..b42069f716f
--- /dev/null
+++ b/include/makeinclude/platform_sunos5_ghs.GNU
@@ -0,0 +1,32 @@
+# $Id$
+
+# SunOS 5.x (Solaris 2.x) with GreenHills compiler.
+
+debug = 1
+optimize = 1
+threads = 1
+
+ifeq ($(threads),0)
+ CFLAGS += -DACE_MT_SAFE=0
+endif # threads
+
+#### CPU type
+ifndef CPU
+ CPU = spc
+endif # CPU
+
+CC = cc$(CPU)
+CXX = $(CC)
+CCFLAGS += $(CFLAGS) --no_rtti -tnone
+DCFLAGS += -g
+DLD = $(CXX)
+LD = $(CXX)
+LDFLAGS = --no_auto_instantiation
+LIBS += -lsocket -ldl -lgen -lnsl -lposix4 -lthread -lw
+OCFLAGS += -OL -OM
+PIC = -PIC
+RANLIB = @true
+AR = ax
+ARFLAGS = ruv
+RANLIB = @true
+SOFLAGS = -shared