This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: AW: EABI
- From: Ian Lance Taylor <iant at google dot com>
- To: "Warlich, Christof" <christof dot warlich at siemens dot com>
- Cc: Andrew Haley <aph at redhat dot com>, "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 09:35:38 -0700
- 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> <525FA924 dot 8050504 at redhat dot com> <6D83E89737156549AEA25EF9ED712C5D04EB1E at DEFTHW99EK1MSX dot ww902 dot siemens dot net>
On Thu, Oct 17, 2013 at 2:51 AM, Warlich, Christof
<christof.warlich@siemens.com> wrote:
>
> 1) Does is make a difference (w.r.t. ABI use?) if building a toolchain for i686 depending on whether I pass
> --target=i686-mytoolchain-linux-gnu or --target= i686-mytoolchain-linux-gnueabi to configure?
> 2) Does is make a difference (w.r.t. ABI use?) if building a toolchain for powerpc depending on whether I pass
> --target=powerpc-mytoolchain-linux-gnu or --target= powerpc-mytoolchain-linux-gnueabi to configure?
> 3) Again, does is make a difference (w.r.t. ABI use?) if building a toolchain for powerpc depending on whether I pass
> --target=powerpc-mytoolchain-linux-eabi or --target= powerpc-mytoolchain-linux-gnueabi to configure?
Why are you asking these questions? Is this really what you want to
know?
To me these questions seem the wrong way around. What matters is what
ABIs are out there and what systems support them. The way the
toolchain handles them is secondary.
You can answer these questions yourself by looking at gcc/config.gcc.
For example, in there I see
i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu |
i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* |
i[34567]86-*-kopensolaris*-gnu)
The i[34567]86-*-gnu* string tells me that i686-mytoolchain-linux-gnu
and i686-mytoolchain-linux-gnueabi are identical. Or, to put it
another way, i686-mytoolchain-linux-gnueabi does not exist as a
separate configuration.
Ian