EABI on bare metal.

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Thu Mar 26 18:22:00 GMT 2009


Thomas,
All,

On Wednesday 25 March 2009 19: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

Are all the input files built with the same toolchain? Is one of those
a binary-only blob you can't rebuild?

>   This is using the newlib branch that was recently created.

Well, there is no new code in there yet.

Adding new lib raises a few questions about the current BARE_METAL design
stuff. I'll start another thread about this issue later (this WE, when I
have more time)...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'


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



More information about the crossgcc mailing list