powerpc-eabism, strategy for finding crt0.o
Fri Apr 13 12:49:00 GMT 2001
On Thu, Apr 12, 2001 at 05:05:49PM -0300, Alexandre Oliva wrote:
> On Apr 12, 2001, Geoff Keating <email@example.com> wrote:
> > No, the compiler will still need -msim to link correctly for the
> > simulator when configured as 'powerpc-eabi'. It has to be told which
> > board it is linking for.
> Will you please confirm that it will fail to link in case -msim isn't
> given? It doesn't matter for link tests whether the program will run,
> the only thing that matters is whether linking succeeds.
The current powerpc behavior is if you don't specify -msim/-mvme/etc. and
configured it for powerpc-eabi (not powerpc-eabisim), it will link in no
library (ie, no -lc, no -lvme, etc.) or crt0. Assuming the object file
references anything in the library, you will get a link error.
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: firstname.lastname@example.org phone: +1 978-486-9304
Non-work: email@example.com fax: +1 978-692-4482
More information about the Newlib