Re: [arm-gnu] EABI version 5, but target u-boot has EABI version 0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] EABI version 5, but target u-boot has EABI version 0




On Feb 6, 2009, at 12:08 PM, Chen-Tsai Huang wrote:

I am using arm-2008q1 to compile the u-boot,
I got the following linker error.

This is a simple problem to fix. First you need to understand that the ARM EABI and ARM GNU/Linux toolchains are different. The Linux kernel and applications are compiled with ARM GNU/Linux toolchain, while bootloaders are compiled with ARM EABI toolchain.

U-boot is a bare-metal application, therefore use the ARM EABI toolchain. That is the best way to compile U-boot and other non-Linux applications. It is possible to compile U-boot with Linux toolchain but not recommended. Explanation of the error in the archives:
http://www.codesourcery.com/archives/arm-gnu/msg02332.html