powerpc64-elf config?

Geoffrey Keating geoffk@geoffk.org
Tue Aug 17 21:34:00 GMT 2004


Zack Weinberg <zack@codesourcery.com> writes:

> > Stan Shebs writes:
> >> In the interests of testing if nothing else, it would be helpful to
> >> introduce a powerpc64-elf target that is like powerpc64-linux but
> >> "freestanding". I've had one in my tree for awhile, but of course
> >> it's kind of hacky, and by now it probably doesn't really work as it
> >> should. The alternative would be an m64 multilib for powerpc-elf,
> >> although I suspect embedded developers aren't really that keen to
> >> pick up a whole new set of libraries for what is most likely a rare
> >> situation in real life.
> >> 
> >> Would anybody like to see a powerpc64-elf configuration added?
> 
> Me!
> 
> "Dave Korn" <dk@artimi.com> writes:
> > By analogy to the 32 bit case, should this not perhaps be called
> > 'powerpc64-unknown-eabi'?  Or am I misreading what you mean by
> > 'freestanding'?
> 
> I would like to see powerpc-eabi renamed or aliased powerpc-elf (in
> general I find it irritating when CPU-elf, for any CPU, is not a
> supported target, especially when there is some other name for it --
> it makes it difficult to write scripts that cycle over all supported
> CPUs).

The targets are actually different.  powerpc-elf is the SVR4 ABI,
powerpc-eabi is EABI.  I thought powerpc-elf worked, at least mostly.

So it's actually correct to call the 64-bit target powerpc64-elf, if
it's to be like linux (since linux conforms to the SVR4-equivalent ABI
for powerpc64).



More information about the Gcc mailing list