summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_chorus.GNU
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-21 20:27:54 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-21 20:27:54 +0000
commit86bb801dbd52b267ba0ac9011380c786bb55b4a5 (patch)
tree97667e6b2a76850086fc4bdedda1bcc838bf588c /include/makeinclude/platform_chorus.GNU
parent7d64b920e1746255da9e8a4ef5fa6ea1859bbf87 (diff)
downloadATCD-86bb801dbd52b267ba0ac9011380c786bb55b4a5.tar.gz
Updated for Chorus 4.0 on PowerPC and Ultra-SPARC.
Expected ACE tests run. (except IOStream_Test on Ultra-SPARC) Chad Elliott
Diffstat (limited to 'include/makeinclude/platform_chorus.GNU')
-rw-r--r--include/makeinclude/platform_chorus.GNU14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/makeinclude/platform_chorus.GNU b/include/makeinclude/platform_chorus.GNU
index 83ec4941d8d..e7c9b316b49 100644
--- a/include/makeinclude/platform_chorus.GNU
+++ b/include/makeinclude/platform_chorus.GNU
@@ -26,9 +26,12 @@ endif #CLX_CDSHOST
ifndef CLASSIXDIR
CLASSIXDIR=$(MERGEDIR)
endif #CLASSIXDIR
+ifndef CPU
+ CPU=powerpc
+endif
-XROOT = $(CLX_CDSPATH)/powerpc/$(CLX_CDSHOST)/$(CLX_CDSVERSION)
-XDIR = $(XROOT)/powerpc-elf
+XROOT = $(CLX_CDSPATH)/$(CPU)/$(CLX_CDSHOST)/$(CLX_CDSVERSION)
+XDIR = $(XROOT)/$(CPU)-elf
CC = $(XDIR)/bin/gcc -B$(XROOT)/lib/gcc-lib/
#
@@ -51,15 +54,18 @@ CCFLAGS += $(CFLAGS) -fno-implicit-templates \
-nostdinc \
-pipe \
-fno-rtti \
- -mstrict-align \
-fwritable-strings \
-fsigned-char \
"-msoft-float" \
- -mno-sdata \
-D_POSIX_THREADS \
-D_POSIX_THREAD_SAFE_FUNCTIONS \
"-DNO_FPU_SUPPORT"
+ifeq ($(CPU),powerpc)
+CCFLAGS += -mstrict-align \
+ -mno-sdata
+endif
+
ifeq ($(exceptions),1)
else # ! exceptions
CCFLAGS += -fno-exceptions