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]

EABI on bare metal.


  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.

-- 
-- Thomas

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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