ARM Cross Compiler using RedHat Version 8

ken.miller@skyworksinc.com@SKYMAIL IMCEANOTES-ken+2Emiller+40skyworksinc+2Ecom+40SKYMAIL@skyworksinc.com
Tue Dec 10 12:00:00 GMT 2002


All,

I am trying to build the ARM cross compiler with the latest version of GCC
(3.2.1) using my RedHat version 8.0 Linux system.  The make proceeds fine
through the assembler section  where I get the first error in the following
line:

mkdir libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/root/gcc-ARM/gcc/xgcc -B/root/gcc-ARM/gcc/ -B/usr/local/arm-*-aout/bin/
-B/usr/local/arm-*-aout/lib/ -isystem /usr/local/arm-*-aout/include -O2
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/root/gcc-3.2.1/gcc
-I/root/gcc-3.2.1/gcc/. -I/root/gcc-3.2.1/gcc/config
-I/root/gcc-3.2.1/gcc/../include -DL_udivsi3 -xassembler-with-cpp -c
/root/gcc-3.2.1/gcc/config/arm/lib1funcs.asm -o libgcc/./_udivsi3.o
/tmp/ccRn3fAX.s: Assembler messages:
/tmp/ccRn3fAX.s:5: Warning: rest of line ignored; first ignored character
is `@'
/tmp/ccRn3fAX.s:6: Warning: rest of line ignored; first ignored character
is `@'
/tmp/ccRn3fAX.s:45: Error: no such instruction: `work .req r4@XXXX is this
safe?'
/tmp/ccRn3fAX.s:46: Error: no such instruction: `dividend .req r0'

Has anyone on the list successfully built this for the ARM (we are using an
ARM 7 Thumb core for our embedded system) cross compiler and if so what do
I need to do to make it work for me on the RedHat Linux 8.0  platform.
Also, I do NOT want the ada, java or objectiveC to build but even with the
command line noted below, the ada and the rest still seems to be starting
(a directory is built fo it in the build area and data has been placed in
them, including objects).  Any ideas?

Please send your responses to me direct at:   ken.miller@skyworksinc.com
as well as to the list.  Thanks in advannce for all the help.

Best Regards,

Ken Miller


P.S.  My configuration line is:

...../configure --program-suffix=arm --enable-language=c --without-gnu-as
--target=arm-*-aout





More information about the Gcc-help mailing list