diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-02 01:32:56 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-02 01:32:56 +0000 |
commit | 300b272dac11395646e12737981aa2c4d73621d1 (patch) | |
tree | 2b0e3db3302a70c171e81081afa46eee51adcc5d /include | |
parent | b941002285ff76453534b4d62cccca6300c81d9f (diff) | |
download | ATCD-300b272dac11395646e12737981aa2c4d73621d1.tar.gz |
*** empty log message ***
Diffstat (limited to 'include')
4 files changed, 54 insertions, 16 deletions
diff --git a/include/makeinclude/platform_sco5.0.0-CC-fsu-pthread.GNU b/include/makeinclude/platform_sco5.0.0-CC-fsu-pthread.GNU new file mode 100644 index 00000000000..b516ca8228d --- /dev/null +++ b/include/makeinclude/platform_sco5.0.0-CC-fsu-pthread.GNU @@ -0,0 +1,36 @@ +# $Id$ + +# Requires FSU pthreads and gcc 2.7.2 Skunkware 97 +# 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 + +debug = 1 +optimize = 1 + +CC = cc +# 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 = CC +CFLAGS += -belf +CCFLAGS += +.cpp +d -Dvolatile= -belf -Kpic -pts -I ${FSU_PTHREADS_DIR}/include +DCFLAGS += -g +DCCFLAGS += $(DCFLAGS) +DLD = $(CXX) +LD = $(CXX) /usr/lib/libc.so.1 +#LD = $(CXX) +LIBS = -lm -L${FSU_PTHREADS_DIR}/lib -lgthreads -lnsl -lsocket -lgthreads +OCFLAGS += -O2 +OCCFLAGS += $(OCFLAGS) +PIC = -fPIC +AR = ar +ARFLAGS = ruv +RANLIB = /bin/true + +SOFLAGS = $(CPPFLAGS) -melf -fPIC -G +SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< +# SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< +PRELIB = @true diff --git a/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU b/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU index dd6c8c26db0..8ac3ae74722 100644 --- a/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU +++ b/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU @@ -13,23 +13,25 @@ CC = gcc #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 +LDLIBS += -lm -L $(ACE_ROOT)/ace # -z muldefs CXX = g++ -CFLAGS += -melf -w -CCFLAGS += -melf -fpic -fno-implicit-templates -I ${FSU_PTHREADS_DIR}/include -DCFLAGS += -gstabs +CFLAGS += -melf -w +CCFLAGS += -melf -fno-implicit-templates -I ${FSU_PTHREADS_DIR}/include +DCFLAGS += -g DCCFLAGS += $(DCFLAGS) DLD = $(CXX) LD = $(CXX) /usr/lib/libc.so.1 -LIBS = -lm -L${FSU_PTHREADS_DIR}/lib -lgthreads -lnsl -lsocket -lmalloc -OCFLAGS += -O2 +#LD = $(CXX) +#LIBS = -lm -L${FSU_PTHREADS_DIR}/lib -lgthreads -lnsl -lsocket -lgthreads +LIBS = -L${FSU_PTHREADS_DIR}/lib -lgthreads -lnsl -lsocket -lgthreads +#OCFLAGS += -O2 OCCFLAGS += $(OCFLAGS) -PIC = -fpic +PIC = -fPIC AR = ar ARFLAGS = ruv RANLIB = /bin/true -SOFLAGS = $(CPPFLAGS) -melf -fpic -G +SOFLAGS = $(CPPFLAGS) -melf -fPIC -G SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< # SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< PRELIB = @true diff --git a/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU b/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU index a30197aabb5..f43397bf5ed 100644 --- a/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU +++ b/include/makeinclude/platform_sco5.0.0-mit-pthread.GNU @@ -15,8 +15,8 @@ CC = gcc # LDLIBS += -L $(ACE_ROOT)/ace -L ./ ${MIT_PTHREADS_DIR}/init/init.o -lACE # -z muldefs LDLIBS += -L $(ACE_ROOT)/ace -L ./ -lACE # -z muldefs CXX = g++ -CFLAGS += -b elf -w -CCFLAGS += -b elf -fpic -Xpg4plus -fno-implicit-templates -I ${MIT_PTHREADS_DIR}/include -I /usr/progressive/lib/g++-include +CFLAGS += -melf -w +CCFLAGS += -melf -fPIC -Xpg4plus -fno-implicit-templates -I ${MIT_PTHREADS_DIR}/include -I /usr/progressive/lib/g++-include DCFLAGS += -gstabs DCCFLAGS += $(DCFLAGS) DLD = $(CXX) @@ -24,12 +24,12 @@ LD = $(CXX) LIBS = -L${MIT_PTHREADS_DIR} -lnsl -lpthread OCFLAGS += -O2 OCCFLAGS += $(OCFLAGS) -PIC = -fpic +PIC = -fPIC AR = ar ARFLAGS = ruv RANLIB = /bin/true -SOFLAGS = $(CPPFLAGS) -b elf -fpic -G +SOFLAGS = $(CPPFLAGS) -melf -fPIC -G SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< # SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< PRELIB = @true diff --git a/include/makeinclude/platform_sco5.0.0-nothread.GNU b/include/makeinclude/platform_sco5.0.0-nothread.GNU index 106c61d750b..e289adcb63f 100644 --- a/include/makeinclude/platform_sco5.0.0-nothread.GNU +++ b/include/makeinclude/platform_sco5.0.0-nothread.GNU @@ -11,20 +11,20 @@ CC = gcc # 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 += $(DCFLAGS) -b elf -w -O2 -CCFLAGS += $(DCCFLAGS) -b elf -O2 -fpic -fno-implicit-templates -I /usr/progressive/lib/g++-include +CFLAGS += $(DCFLAGS) -melf -w -O2 +CCFLAGS += $(DCCFLAGS) -melf -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 = -lnsl -lsocket -PIC = -fpic +PIC = -fPIC AR = ar ARFLAGS = ruv RANLIB = /bin/true -SOFLAGS = $(CPPFLAGS) -b elf -fpic -G +SOFLAGS = $(CPPFLAGS) -melf -fPIC -G SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< # SOLINK = $(SOLINK.cc) -o $@ $(LDFLAGS) $< # PRELIB = (echo "main() { }" > gcctemp.c && \ |