This is the mail archive of the crossgcc@sourceware.org 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]

Re: EABI on bare metal.


On Wednesday 25 March 2009 11:32:34 Thomas Charron wrote:
>   I was previously generating stuff using arm-unknown-eabi.  As an
> experiment, I tried using arm-unknown-elf, disabling EABI in menuconf.
> 
>   That toolchain, however, leads to this error:
> 
> .assembling
> arm-unknown-elf-as -ahls -mapcs-32 -o crt.o crt.s > crt.lst
> .compiling
> arm-unknown-elf-gcc -I./ -c -fno-common -O0 -g main.c
> ..linking
> arm-unknown-elf-ld -v -Map main.map -T2129_demo.cmd -o main.out  crt.o
> uart.o main.o
> GNU ld version 2.16.1
> arm-unknown-elf-ld: ERROR: Source object main.o has EABI version 0,
> but target main.out has EABI version 4
> arm-unknown-elf-ld: failed to merge target specific data of file main.o
> make: *** [main.out] Error 1
> 
>   This is using the newlib branch that was recently created.
> 

what is the content of 2129_demo.cmd ?
-- 
Khem Raj

Attachment: signature.asc
Description: This is a digitally signed message part.


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