This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: AW: EABI
- From: Andrew Haley <aph at redhat dot com>
- To: "Warlich, Christof" <christof dot warlich at siemens dot com>
- Cc: "Anandkumar, CB IN BLR STS" <anand dot cb at siemens dot com>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 17 Oct 2013 10:08:52 +0100
- Subject: Re: AW: EABI
- Authentication-results: sourceware.org; auth=none
- References: <6D83E89737156549AEA25EF9ED712C5D04EA95 at DEFTHW99EK1MSX dot ww902 dot siemens dot net> <80070575041F1A43B43673DA71C5B0BCBBE2B2EE65 at INBLRK77M1MSX dot in002 dot siemens dot net> <6D83E89737156549AEA25EF9ED712C5D04EADD at DEFTHW99EK1MSX dot ww902 dot siemens dot net>
On 10/17/2013 09:23 AM, Warlich, Christof wrote:
> As I tried to point out in my post, I'm not so much interested in
> (E)ABI details themselves, but in the effect it has when passing
> different ABI specifications for _different_ target architectures to
> the configure scripts of binutils, the C library being used,
> e.g. glibc and most notable and relevant for this mailing list, gcc,
> i.e. the differences for
>
> ./configure --target=xxx-mytoolchain-linux-gnu
> ./configure --target=xxx-mytoolchain-linux-gnueabi
> ./configure --target=xxx-mytoolchain-linux-eabi
>
> As much as I could find out so far, it seems like -gnueabi only
> makes a difference for xxx=arm and -eabi makes a difference for
> xxx=powerpc and xxx=arm, but this is more a guess that I concluded
> from looking at the related configure and confif.sub scripts for gcc
> (and binutils and glibc).
>
> So I'd like to confirm if I'm right so far, being interested in
> i*86, mips*, powerpc and arm, and what might be good naming
> convention for those architectures where no differences are to be
> expected for the three cases mentioned above.
There aren't any hard and fast rules because system ABIs aren't
something that is determined by GCC: they are designed by system
architects. They might choose to define all manner of variants in all
manner of ways. All we in GCC can do is implement them. So, if you
want to ask a specific question about an ABI we'll try to answer it,
but that's all we can do.
Andrew.