[OpenBIOS] PPC cross-compiler defaults to 'powerpc-linux-gnu-'prefix
stepan at coresystems.de
Wed Nov 25 13:17:02 CET 2009
On 11/25/09 1:03 PM, Laurent Vivier wrote:
>> Hi all,
>> 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 particular reason that we need the linux platform version,
>> instead of the elf version which is used by SPARC? The reason I ask is
>> that the Linux platform version is much much harder to compile as you
>> need an extra set of glibc headers and have to bootstrap the gcc build
>> by hand in order to produce the working final compiler.
> The only reason is because I use "powerpc-linux-gnu-gcc", but I agree it is much harder to produce. But I produce my cross-compile environment from debian packages, which seems simpler.
> Do you know if there is a "powerpc-elf-gdb" ?
I've been building powerpc-elf tool chains with our small multi platform
cross compiler script:
and it produces powerpc-elf-gdb ....
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the OpenBIOS