This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compilation error of gcc to build a cross-compiler


Hi,

I finally found a patch to linux.h that permit to compile gcc as a cross compiler for a powerpc-linux target without need of Glibc. But now, i have got another error with eabi.S.

/users/sysadmin/verdon/cross-compiler/obj/gcc/gcc/xgcc
-B/users/sysadmin/verdon/cross-compiler/obj/gcc/gcc/
-B/users/sysadmin/verdon/cross-compiler/ppc/powerpc-linux/bin/
-B/users/sysadmin/verdon/cross-compiler/ppc/powerpc-linux/lib/ -isystem
/users/sysadmin/verdon/cross-compiler/ppc/powerpc-linux/include -isystem
/users/sysadmin/verdon/cross-compiler/ppc/powerpc-linux/sys-include -O2
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I
-I../../../src/gcc-3.4.2/gcc -I../../../src/gcc-3.4.2/gcc/
-I../../../src/gcc-3.4.2/gcc/../include -I../intl -fPIC -mstrict-align
-c eabi.S -o libgcc/./eabi.o
eabi.S: Assembler messages:
eabi.S:255: Error: operand out of range (6 is not between 0 and 1)
eabi.S:255: Error: missing operand
make[2]: *** [libgcc/./eabi.o] Error 1
make[2]: Leaving directory
`/users/sysadmin/verdon/cross-compiler/obj/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory
`/users/sysadmin/verdon/cross-compiler/obj/gcc/gcc'
make: *** [all-gcc] Error 2

I configured gcc like this:

../../src/gcc-3.4.2/configure
--prefix=/users/sysadmin/verdon/cross-compiler/ppc
--target=powerpc-linux --enable-languages=c --disable-threads
--disable-shared --with-newlib


I din't find any patch or solution to this problème in the archives.


Can someone help me, please?


Carole.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]