32 bit gccsdk

Peter Teichmann mail at peter-teichmann.de
Thu Oct 9 14:37:44 PDT 2003


Is there a recommended way to get a gccsdk cross compiler that is able to 
generate 26/32 bit neutral code? http://www.riscos.info/gcc/32bit.html 
suggests to get the latest version from cvs. I tried to compiled this on a 
x86 running Debian-unstable, following the readme file. This leads after some 
compilation to what is shown below.

It seems to me that it manages to compile the cross compiler, but the when it 
goes to compiling Unixlib using this cross compiler it fails. Am I doing 
something wrong? Thank you for any hints!

Peter Teichmann

[...]
make -C cross-progs "STAGE=stage1"
make[1]: Entering directory `/home/peter/gccsdk-cvs/gccsdk/cross-progs'
mkdir -p /home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/
arm-simulator
make -C arm-simulator
make[2]: Entering directory `/home/peter/gccsdk-cvs/gccsdk/cross-progs/
arm-simulator'
gcc -O2 -g -DP_LINUX -fomit-frame-pointer -I. -DHAVE_CONFIG_H -DDEBUG -o /
home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/
armemu.o -c armemu.c -I.
gcc -O2 -g -DP_LINUX -fomit-frame-pointer -I. -DHAVE_CONFIG_H -DDEBUG -o /
home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/
arm-dis.o -c arm-dis.c -I.
gcc -O2 -g -DP_LINUX -fomit-frame-pointer -I. -DHAVE_CONFIG_H -DDEBUG -o /
home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/
armdepen.o -c armdepen.c -I.
gcc -O2 -g -DP_LINUX -fomit-frame-pointer -I. -DHAVE_CONFIG_H -DDEBUG -o /
home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/
armswi.o -c armswi.c -I.
armswi.c: In function `swi':
armswi.c:1137: warning: comparison between pointer and integer
armswi.c:1143: warning: assignment makes pointer from integer without a cast
gcc -O2 -g -DP_LINUX -fomit-frame-pointer -I. -DHAVE_CONFIG_H -DDEBUG -o /
home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/
armdebug.o -c armdebug.c -I.
gcc -o /home/peter/gccsdk-cvs/cross/bin//armemu /home/peter/gccsdk-cvs/gccsdk/
arm-riscos-aof/riscos-progs/arm-simulator/armemu.o /home/peter/gccsdk-cvs/
gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/arm-dis.o /home/peter/
gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/armdepen.o /home/
peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/armswi.o /
home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/riscos-progs/arm-simulator/
armdebug.o -L/home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/libiberty/stage1 
-liberty
make[2]: Leaving directory `/home/peter/gccsdk-cvs/gccsdk/cross-progs/
arm-simulator'
make[1]: Leaving directory `/home/peter/gccsdk-cvs/gccsdk/cross-progs'
make -C unixlib "TRG=apcs32/arch3/unixlib" "CFL=-mapcs-32 -mcpu=arm6 
-munixlib"
make[1]: Entering directory `/home/peter/gccsdk-cvs/gccsdk/unixlib'
make -C source
make[2]: Entering directory `/home/peter/gccsdk-cvs/gccsdk/unixlib/source'
/home/peter/gccsdk-cvs/cross/bin//gcc -O2 -DTARGET_RISCOSAOF 
-mpoke-function-name -D__UNIXLIB_INTERNALS -pedantic -Wall -Wundef 
-Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline 
-Wno-unused -Wno-long-long -W -Wcast-qual -Wshadow -o /home/peter/gccsdk-cvs/
gccsdk/arm-riscos-aof/unixlib/apcs32/arch3/unixlib/abort.o -c abort.c 
-isystem clib -mapcs-32 -mcpu=arm6 -munixlib
Error: Redefinition of abort at line 34
Error: Symbol abort cannot be evaluated
gcc: Internal error: Unknown signal (program as)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [/home/peter/gccsdk-cvs/gccsdk/arm-riscos-aof/unixlib/apcs32/
arch3/unixlib/abort.o] Error 1
make[2]: Leaving directory `/home/peter/gccsdk-cvs/gccsdk/unixlib/source'
make[1]: *** [unixlib] Error 2
make[1]: Leaving directory `/home/peter/gccsdk-cvs/gccsdk/unixlib'
make: *** [c-libs] Error 2
peter at Centrino:~/gccsdk-cvs/gccsdk$





More information about the gcc mailing list