summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_sco5.0.0-nothread.GNU
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-29 14:22:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-29 14:22:20 +0000
commit253ae5a68fee4460945a39d37ad5d4d7737d2c9e (patch)
tree502c22a811e5a30f368871ac20c9b3fbbcf4f4d2 /include/makeinclude/platform_sco5.0.0-nothread.GNU
parentbd3a5f9d22478a0b7c0d03f51ba5c818bd8b40a8 (diff)
downloadATCD-253ae5a68fee4460945a39d37ad5d4d7737d2c9e.tar.gz
*** empty log message ***
Diffstat (limited to 'include/makeinclude/platform_sco5.0.0-nothread.GNU')
-rw-r--r--include/makeinclude/platform_sco5.0.0-nothread.GNU37
1 files changed, 23 insertions, 14 deletions
diff --git a/include/makeinclude/platform_sco5.0.0-nothread.GNU b/include/makeinclude/platform_sco5.0.0-nothread.GNU
index 8a852efe2f3..106c61d750b 100644
--- a/include/makeinclude/platform_sco5.0.0-nothread.GNU
+++ b/include/makeinclude/platform_sco5.0.0-nothread.GNU
@@ -1,25 +1,34 @@
# $Id$
-# SCO v5.0.2; gcc version 2.7-95q4(Skunkware96 distribution from media images)
-
-debug = 1
-optimize = 1
-
+# Requires FSU pthreads and gcc 2.7.2 installed in /usr/progressive
+# to produce libACE.so correctly changed the specs file for gcc 2.7.2
+# for not link -lc and -lgcc and other not shared libraries
CC = gcc
+# for threads
+# for no threads
+#CXX = gcc -fno-implicit-templates -w -fno-strict-prototypes
+# LDFLAGS += -L $(ACE_ROOT)/ace -L ./ ${FSU_PTHREADS_DIR}/init/init.o # -z muldefs
+# LDLIBS += -L $(ACE_ROOT)/ace -L ./ ${FSU_PTHREADS_DIR}/init/init.o -lACE # -z muldefs
+LDLIBS += -L $(ACE_ROOT)/ace # -z muldefs
CXX = g++
-CFLAGS += -b elf -w
-CCFLAGS += $(CFLAGS) -Xpg4plus -fno-implicit-templates \
- -I/usr/progressive/lib/g++-include
+CFLAGS += $(DCFLAGS) -b elf -w -O2
+CCFLAGS += $(DCCFLAGS) -b elf -O2 -fpic -fno-implicit-templates -I /usr/progressive/lib/g++-include
+#DCFLAGS += -gstabs -DACE_HAS_BIG_FD_SET
DCFLAGS += -gstabs
+DCCFLAGS += $(DCFLAGS)
DLD = $(CXX)
-LD = $(CXX)
-LIBS += -lsocket -lnsl -ldl
-OCFLAGS += -O2
-PIC = -fpic
+LD = $(CXX)
+LIBS = -lnsl -lsocket
+PIC = -fpic
AR = ar
ARFLAGS = ruv
RANLIB = /bin/true
-SOFLAGS = $(CPPFLAGS) -b elf -fpic -G
+SOFLAGS = $(CPPFLAGS) -b elf -fpic -G
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
-PRELIB = @true
+# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $<
+# PRELIB = (echo "main() { }" > gcctemp.c && \
+# $(COMPILE.cc) -o gcctemp.o gcctemp.c && \
+# $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LDLIBS) $(LIBS); \
+# status=$$?; exit $$status)
+PRELIB = @true