summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_dgux4_ghs.GNU
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1998-02-11 16:07:51 +0000
committerSteve Huston <shuston@riverace.com>1998-02-11 16:07:51 +0000
commitd40af50793af4ed2ea2051610877cb91ca85821e (patch)
tree03ed9170748ca3cc09b1ba006474dcc83251a295 /include/makeinclude/platform_dgux4_ghs.GNU
parent4fa7cd9d5ae3100a36442139a5b4fe550a36a9f8 (diff)
downloadATCD-d40af50793af4ed2ea2051610877cb91ca85821e.tar.gz
New platform macros file for DG/UX V4.x with Green Hills Multi C++ compiler.
Diffstat (limited to 'include/makeinclude/platform_dgux4_ghs.GNU')
-rw-r--r--include/makeinclude/platform_dgux4_ghs.GNU27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/makeinclude/platform_dgux4_ghs.GNU b/include/makeinclude/platform_dgux4_ghs.GNU
new file mode 100644
index 00000000000..05c5b3ad787
--- /dev/null
+++ b/include/makeinclude/platform_dgux4_ghs.GNU
@@ -0,0 +1,27 @@
+# $Id$
+
+# DG/UX 4.x using Green Hills Multi's C++ compiler.
+
+debug = 1
+#shared_libs_only = 0
+#static_libs_only = 1
+#static_libs = 1
+
+CC = cc
+CXX = ghcx
+CCFLAGS += $(CFLAGS) -elf -template=noauto # -ansicxx
+# There was a link-time failure if -g (debugging) was turned on, and Green
+# Hills was not able to try to fix it, so debugging is via ACE_OS::printf :-(
+DCFLAGS += # -g
+DLD = $(CXX) -shared
+LD = $(CXX)
+LIBS += -lthread -lrte -lgen -lsocket -ldl -lnsl # -lc
+PIC = -pic
+AR = $(CXX) -archive -o
+ARFLAGS =
+RANLIB = echo
+#SOFLAGS = -G $(CPPFLAGS)
+#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
+# $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o
+#SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
+# $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o