diff options
Diffstat (limited to 'include/makeinclude/platform_vxworks5.x_g++.GNU')
-rw-r--r-- | include/makeinclude/platform_vxworks5.x_g++.GNU | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU deleted file mode 100644 index c35a9168b02..00000000000 --- a/include/makeinclude/platform_vxworks5.x_g++.GNU +++ /dev/null @@ -1,93 +0,0 @@ -# $Id$ -# VxWorks 5.2-5.3.1 with GNU g++ 2.7.2 - -#### Notes: -#### 1) This file assumes that the WIND_BASE environment variable is set. -#### -#### 2) If you have problems with munch output not being compilable -#### because it contains identifiers with ".", e.g., ".cpp", in them: -#### add a global variable or function to that .cpp file. See -#### ace/IOStream_T.cpp for an explanation and example. - -debug = 1 -optimize = 1 -shared_libs = -static_libs = 1 - - -#### BEGIN CPU-specific settings - -#### This is kind of messy so that it can support multiple -#### targets. You'll need to set CPU to a supported CPU -#### using one of these methods (unless your CPU is a PowerPC 604): -#### 1) create a $ACE_ROOT/include/makeinclude/platform_macros.GNU -#### that contains something like: -#### CPU = I80486 -#### include $(ACE_ROOT)/include/makeinclude/platform_vxworks5.2_g++.GNU -#### 2) modify the code below to set CPU, or -#### 3) set CPU on the command line, e.g., "make CPU=I80486" -ifeq ($(CPU),) - CPU = PPC604 -endif # default CPU - -ifeq ($(CPU),PPC604) - CFLAGS += -B$(GCCLIB_DIR)/ -DCPU=PPC604 - GCCLIB_DIR = $(HOST_DIR)/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126 - TOOLENV = ppc -else -ifeq ($(CPU),I80486) - CFLAGS += -DCPU=I80486 -m486 - TOOLENV = 386 -endif # I80486 -endif # PPC604 - -#### END CPU-specific settings - - -TARGET_DIR = $(WIND_BASE)/target -HOST_DIR = $(WIND_BASE)/host/sun4-solaris2 -BIN_DIR = $(HOST_DIR)/bin - -CC = cc$(TOOLENV) -CXX = g++$(TOOLENV) -CFLAGS += -DVXWORKS -D_REENTRANT -ansi -fno-builtin -fno-defer-pop -fvolatile -nostdinc -nostdlib -pipe -Wall -#### Note: -f-no-implicit-templates doesn't seem to work well with -#### g++ cygnus-2.7.2-960126 for pc486 target. Some -#### member functions don't get instantiated. Wind River knows -#### about this problem (SPR 8483). -CCFLAGS += $(CFLAGS) #### -fno-implicit-templates -DCFLAGS += -g -INCLDIRS += -I$(WIND_BASE)/target/h -LD = $(ACE_ROOT)/bin/ace_ld -c "$(COMPILE.c) -traditional" \ - -m "munch" -n "nm$(TOOLENV)" ld$(TOOLENV) -LDFLAGS += -X -r -#### WindRiver only recommends -O, not -O2, with some CPUs, including -#### the i386 family. -OCFLAGS += -O -PIC = -AR = ar$(TOOLENV) -ARFLAGS = rv -RANLIB = /bin/true -VXWORKS = 1 - -#### ld can't handle INCLDIRS, so override LINK definitions. -LINK.c = override -LINK.c.override = $(LD) $(LDFLAGS) $(LDLIBS) $(LIBS) - -LINK.cc = override -LINK.cc.override = $(LD) - -#### The symbol table extractor is target-dependent. -ifeq ($(CPU),I80486) - BINXSYM_NAME = xsymDec -else -ifeq ($(CPU),I80386) - BINXSYM_NAME = xsymDec -else - BINXSYM_NAME = xsym -endif # I80486 -endif # I80386 - -#### To extract the symbol table from each executable, uncomment the POSTLINK -#### definition below. -## POSTLINK = ; VX_CPU_FAMILY=$(TOOLENV) $(BINXSYM_NAME) < $@ > $@.sym |