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 Friday 14 October 2005 07:49, 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 CodeSourcery releases are made off csl-arm-branch in CVS.

I think all the EABI changes are now in 4.1.
You need to configure for the arm-eabi target, not arm-elf.

Note that theres no such thing as the "gcc linker". You probably mean GNU 
binutils/ld.

Paul


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