summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-11 17:26:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-11 17:26:41 +0000
commitf9be43c110dbeadb631a85a2c2957bac60fbc3e6 (patch)
treed6277d278a0f880b6026c38659517117313a14c8 /include
parent1d8f04fbeeb2868b42aa604d82af9ca6643c047b (diff)
downloadATCD-f9be43c110dbeadb631a85a2c2957bac60fbc3e6.tar.gz
instead of using GNU ranlib after using GHS ax for i386 targets, just use GNU ar386
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_vxworks5.x_ghs.GNU31
1 files changed, 15 insertions, 16 deletions
diff --git a/include/makeinclude/platform_vxworks5.x_ghs.GNU b/include/makeinclude/platform_vxworks5.x_ghs.GNU
index 2f1cbc535b5..6c5a94c778f 100644
--- a/include/makeinclude/platform_vxworks5.x_ghs.GNU
+++ b/include/makeinclude/platform_vxworks5.x_ghs.GNU
@@ -50,34 +50,33 @@ endif # CPU
#### Green Hills location, and target-specific definitions.
ifeq ($(CPU),86)
- # Without this RANLIB, ld386 complains that it can't read the
+ # With GHS' ax, ld386 complains that it can't read the
# archive symbol table.
- RANLIB = $(WIND_BASE)/host/$(WIND_HOST_TYPE)/bin/ranlib386
ifndef GHS
GHS = /project/doc/wind/green/vx$(CPU)
endif # GHS
+ AR = $(WIND_BASE)/host/$(WIND_HOST_TYPE)/bin/ar386
+ ARFLAGS = rsu
LIBS += $(GHS)/libedgnoe.a
else
ifeq ($(CPU),ppc)
ifndef GHS
GHS = /appl/newgreen/vx$(CPU)603
endif # GHS
+ AR = ax
+ ARFLAGS = cr
LIBS += $(GHS)/ghsbltin.o $(GHS)/ghsmath.o
endif # ppc
endif # CPU
-CC = cxvx$(CPU)
-CXX = $(CC)
-CCFLAGS += $(CFLAGS) --no_rtti -tnone
-DCFLAGS += -g
-DLD = $(CXX)
-LD = $(CXX)
-LDFLAGS = --no_auto_instantiation
-OCFLAGS += -OL -OM
-PIC =
-AR = ax
-ARFLAGS = r
-ifndef RANLIB
- RANLIB = /bin/true
-endif # RANLIB
+CC = cxvx$(CPU)
+CXX = $(CC)
+CCFLAGS += $(CFLAGS) --no_rtti -tnone
+DCFLAGS += -g
+DLD = $(CXX)
+LD = $(CXX)
+LDFLAGS = --no_auto_instantiation
+OCFLAGS += -OL -OM
+PIC =
+RANLIB = @true