diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-25 15:35:47 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-25 15:35:47 +0000 |
commit | c303f5adf08fb10c35fdda7f78a168e016bed5e8 (patch) | |
tree | 9ea6608500affe6dd1dbf32f399267a901dda4e4 /include | |
parent | fbde9f5f6671cdbd90d223d9e4e71e495dda387a (diff) | |
download | ATCD-c303f5adf08fb10c35fdda7f78a168e016bed5e8.tar.gz |
platform_vxworks5.2_g++.GNU
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_sunos5_g++.GNU | 2 | ||||
-rw-r--r-- | include/makeinclude/platform_vxworks5.x_g++.GNU | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/include/makeinclude/platform_sunos5_g++.GNU b/include/makeinclude/platform_sunos5_g++.GNU index 195065cc641..a4f3db9893b 100644 --- a/include/makeinclude/platform_sunos5_g++.GNU +++ b/include/makeinclude/platform_sunos5_g++.GNU @@ -3,7 +3,7 @@ # SOBUILD - compile into .so directly # CC = gcc -CXX = gcc -I. -fno-strict-prototypes -D__ACE_INLINE__ # -frepo +CXX = gcc -I. -fno-strict-prototypes -D__ACE_INLINE__ -Wall -Wpointer-arith -Winline -frepo DLD = $(CXX) LDFLAGS += -L $(WRAPPER_ROOT)/ace -L ./ # -z muldefs LIBS += -lsocket -ldl -lstdc++ -lgen -lnsl -lthread -lw diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU new file mode 100644 index 00000000000..fdd38574bdd --- /dev/null +++ b/include/makeinclude/platform_vxworks5.x_g++.GNU @@ -0,0 +1,27 @@ +# VxWorks 5.2 with GNU g++ 2.7.2 +# *not* using Orbix + +TOOL_DIR = /appl/wind +TARGET_DIR = $(TOOL_DIR)/target +HOST_DIR = $(TOOL_DIR)/host/sun4-solaris2 +BIN_DIR = $(HOST_DIR)/bin +LIB_DIR = $(HOST_DIR)/powerpc-wrs-vxworks/lib +GCCLIB_DIR = $(HOST_DIR)/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126 + +CC = $(BIN_DIR)/g++ppc +#### CXX = $(BIN_DIR)/g++ppc -I. -D__INLINE__ +CXX = $(BIN_DIR)/g++ppc +CCFLAGS += -B$(GCCLIB_DIR)/ -DCPU=PPC604 -DVXWORKS +INCLDIRS += -I$(TARGET_DIR)/h +LD = $(BIN_DIR)/ldppc +LDFLAGS += -r -L$(LIB_DIR) -L$(GCCLIB_DIR) +LIBS += -lstdc++ -lgcc +PIC = +AR = arppc +ARFLAGS = rv +RANLIB = /bin/true +PRELIB = (echo "main() { }" > gcctemp.c && \ + $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ + $(LD) $^ $(LDFLAGS) $(LIBS); \ + status=$$?; rm -f gcctemp.* a.out; exit $$status) + |