summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-23 22:37:37 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-23 22:37:37 +0000
commit86dec12080cf02b3691cccba9e8b64aef80f342d (patch)
treea1871a67a0f3c78b1590c78e4adfebd518d09fdc
parentecc8e8471bed83c547b5936a200fb2ee7078e489 (diff)
downloadATCD-86dec12080cf02b3691cccba9e8b64aef80f342d.tar.gz
updated so that links work
-rw-r--r--include/makeinclude/platform_sunos5_ghs.GNU18
1 files changed, 11 insertions, 7 deletions
diff --git a/include/makeinclude/platform_sunos5_ghs.GNU b/include/makeinclude/platform_sunos5_ghs.GNU
index b42069f716f..2123be03e8b 100644
--- a/include/makeinclude/platform_sunos5_ghs.GNU
+++ b/include/makeinclude/platform_sunos5_ghs.GNU
@@ -5,24 +5,20 @@
debug = 1
optimize = 1
threads = 1
+exceptions =
ifeq ($(threads),0)
CFLAGS += -DACE_MT_SAFE=0
endif # threads
-#### CPU type
-ifndef CPU
- CPU = spc
-endif # CPU
-
-CC = cc$(CPU)
+CC = gcx
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
+LIBS += -lsocket -ldl -lgen -lnsl -lposix4 -lthread -lw -lcx
OCFLAGS += -OL -OM
PIC = -PIC
RANLIB = @true
@@ -30,3 +26,11 @@ AR = ax
ARFLAGS = ruv
RANLIB = @true
SOFLAGS = -shared
+
+ifdef exceptions
+ CCFLAGS += --exceptions
+ LIBS += -ledge
+else # ! exceptions
+ CCFLAGS += --no_exceptions
+ LIBS += -ledgnoe
+endif # ! exceptions