Subject: Is egcs expected to work on pmax
To: None <tech-toolchain@NetBSD.ORG>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: tech-toolchain
Date: 04/21/1998 09:06:30
This is on NetBSD/pmax, sources SUP'ed as of yesterday, /usr/share/mk
is up-to-date.

I entered USE_EGCS=1 into mk.conf and then compiled and installed
in .../src/gnu/usr.bin/egcs.

Ok, so far.

Then I tried to

     make clean
     make

(still in src/gnu/usr.bin/egcs), and got the following

all ===> common
cc -O -fPIC -DPIC -DABICALLS -Werror  -I/home/src/gnu/usr.bin/egcs/common
-I/home/src/gnu/usr.bin/egcs/common/../common  
-I/home/src/gnu/usr.bin/egcs/common/obj.pmax
-I/home/src/gnu/usr.bin/egcs/common/../arch  
-I/home/src/gnu/usr.bin/egcs/common/../arch/mips
-I/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc  
-I/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config  
-I/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/mips
-DMD_EXEC_PREFIX=\"/usr/libexec/\"  
-DMD_STARTFILE_PREFIX=\"/usr/lib/\"  -DIN_GCC -DNETBSD_NATIVE
-DDEFAULT_TARGET_VERSION=\"egcs-2.90.27\"  
-DDEFAULT_TARGET_MACHINE=\"mips-netbsd\" -DTARGET_NAME=\"mips-netbsd\" -c 
/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/bi-arity.c
cc1: warnings being treated as errors
cc1: warning: -G is incompatible with PIC code which is the default
*** Error code 1

Stop.
*** Error code 1

Stop.

Is this problem in my set-up, or is it present for all pmax
machines (or ELF or whatever...) ?

regards
Erik Bertelsen