summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_chorus.GNU
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-24 19:18:23 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-24 19:18:23 +0000
commitf01ccead7f103caeb45f99f0bb3808f790d82b41 (patch)
tree964d55f15fb323d791e493aa17ef43e7b76f3cde /include/makeinclude/platform_chorus.GNU
parent6da6b97bbed2a9ddfb5830e8799e4b264dd0a399 (diff)
downloadATCD-f01ccead7f103caeb45f99f0bb3808f790d82b41.tar.gz
*** empty log message ***
Diffstat (limited to 'include/makeinclude/platform_chorus.GNU')
-rw-r--r--include/makeinclude/platform_chorus.GNU25
1 files changed, 15 insertions, 10 deletions
diff --git a/include/makeinclude/platform_chorus.GNU b/include/makeinclude/platform_chorus.GNU
index 92ad506784f..973c7f90c67 100644
--- a/include/makeinclude/platform_chorus.GNU
+++ b/include/makeinclude/platform_chorus.GNU
@@ -1,11 +1,12 @@
# Chorus 3.1b with GNU g++ 2.7.2
-# *not* using Orbix
+include $(CLASSIXDIR)/dtool/htgt-cf.rf
INC_DIR = $(CLASSIXDIR)/include
BIN_DIR =
LIB_DIR = $(CLASSIXDIR)/lib
-CC = gcc
-CXX = g++
+#CC = gcc
+#CXX = g++
+CXX = $(CC)
CFLAGS += $(DCFLAGS) -w -O2
CCFLAGS += $(CFLAGS) -fno-implicit-templates \
-fno-strict-prototypes \
@@ -17,20 +18,24 @@ INCLDIRS += -I$(INC_DIR)/posix \
-I$(INC_DIR)/stdc \
-I$(INC_DIR)/chorus/ \
-I$(INC_DIR)/chorus/iom \
- -I$(INC_DIR)/CC
-DLD =
-LD = $(CXX)
+ -I$(INC_DIR)/CC
+DLD =
+LD = $(CXX)
LDFLAGS += -r -Ur -nostdlib \
-L$(LIB_DIR)/CC \
-L$(LIB_DIR)/classix
-LIBS += -lC -lcx.u
+#LIBS += -lC -lcx.u
PIC = -fPIC
-AR = ar
-ARFLAGS = rv
-RANLIB = /bin/true
+#AR = ar
+AR = $(XDIR)/bin/ar
+#ARFLAGS = rv
+ARFLAGS = srv
+#RANLIB = /bin/true
+RANLIB = $(XDIR)/bin/ranlib
PRELIB = (echo "main() { }" > gcctemp.c && \
$(COMPILE.cc) -o gcctemp.o gcctemp.c && \
$(LD) $^ $(LDFLAGS) $(LIBS); \
status=$$?; rm -f gcctemp.* a.out; exit $$status)
#### don't build shared objects:
BUILD = $(VOBJS) $(VLIB) $(VBIN)
+