[OpenBIOS] PPC cross-compiler defaults to 'powerpc-linux-gnu-' prefix

Andreas Färber andreas.faerber at web.de
Sat Nov 28 15:57:55 CET 2009

Am 26.11.2009 um 22:19 schrieb Segher Boessenkool:

>>>> While setting up a PPC cross-compiler environment for OpenBIOS, I
>>>> noticed that the default cross-compiler prefix is set to
>>>> 'powerpc-linux-gnu-' as opposed to 'powerpc-elf-'.
>>> Is there any reason you want -elf instead of -eabi? :-)
>> Just the crazy assumption there's a generic pattern behind all the
>> target names.
>> -eabi is probably the right one.
> EABI is the modern ABI on pretty much all architectures.  It's the
> same as -elf on some archs; -elf is an older ABI on some other archs.

http://gcc.gnu.org/install/specific.html#powerpc-x-elf describes them  

powerpc-*-elf: PowerPC system in big endian mode, running System V.4.

powerpc-*-eabi: Embedded PowerPC system in big endian mode.


More information about the OpenBIOS mailing list