This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Arm cross compile error...


Am trying to build a compiler to target arm-wince-pe that will be hosted on OSX. The bin utils built fine but at the link stage of the gcc build I get the following:

/Cross/build-gcc/gcc/xgcc -B/Cross/build-gcc/gcc/ -B/Cross/arm-wince-pe/bin/ -B/Cross/arm-wince-pe/lib/ -isystem /Cross/arm-wince-pe/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -Dinhibit_libc -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -mthumb -DL_udivsi3 -xassembler-with-cpp -c ../../gcc/gcc/config/arm/lib1funcs.asm -o libgcc/thumb/_udivsi3.o
../../gcc/gcc/config/arm/lib1funcs.asm: Assembler messages:
../../gcc/gcc/config/arm/lib1funcs.asm:159: Warning: ignoring redefinition of register alias 'ip'
../../gcc/gcc/config/arm/lib1funcs.asm:160: Warning: ignoring redefinition of register alias 'sp'
../../gcc/gcc/config/arm/lib1funcs.asm:161: Warning: ignoring redefinition of register alias 'lr'
../../gcc/gcc/config/arm/lib1funcs.asm:162: Warning: ignoring redefinition of register alias 'pc'
../../gcc/gcc/config/arm/lib1funcs.asm:452: Error: cannot represent BFD_RELOC_THUMB_PCREL_BRANCH23 relocation in this object file format
make[2]: *** [libgcc/thumb/_udivsi3.o] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2


Any ideas? Config options are:

../gcc/configure --target=arm-wince-pe --prefix=/Cross -v --disable-nls

Thanks
Mark


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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