This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: Linking of object files from different compilers for ARM


On Fri, Oct 14, 2005 at 09:49:42AM +0300, Yaroslav Karulin wrote:
>   Hello!
> 
>   I have two files: foo.c and main.c. foo.c is compiled with RVTC 2.2 
> compiler. main.c is compiled with gcc compiler (configured with 
> --target=arm-elf). I cannot link them together using gcc linker.
>   But it's possible to link files if I use CodeSourcery version of gcc.
> CodeSourcery guys writes that they have added full EABI support and hope 
> to submit it to the gcc 4.1.
>   So, the question is what's the difference between CodeSourcery's 
> version of gcc and FSF version? And is EABI support really submitted to 
> the gcc 4.1?

The difference is that it's configured for an EABI target, not an ELF
(legacy) target.  Build an arm-none-eabi compiler instead of an arm-elf
compiler and it should work.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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