powerpc-eabism, strategy for finding crt0.o
Fri Apr 13 14:38:00 GMT 2001
> Cc: Geoff Keating <email@example.com>, firstname.lastname@example.org,
> email@example.com, firstname.lastname@example.org
> From: Alexandre Oliva <email@example.com>
> Organization: GCC Team, Red Hat
> Date: 13 Apr 2001 17:34:02 -0300
> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
> On Apr 13, 2001, Michael Meissner <firstname.lastname@example.org> wrote:
> > 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.
> Hmm... This is bad. Are there more ports like this? I don't see a
> way to get autoconf link tests to work on such platforms.
Yup. I believe that MIPS is like this.
Yes, you cannot use autoconf link tests on such platforms. You have
to deal with it in some other way.
If you really must know whether some link test will pass, you have to
break the configuration up into smaller pieces, eg.
but even then, I don't know how you can do link tests on (for
instance) vxworks, where final link takes place on the target board.
And then, once you've done this, you have a toolchain that will only
work for the one board you've targetted it at.
MIPS is even worse, in that I don't think that you can as easily build
compilers that default to particular boards. On ppc, it's just a
question of supplying a config file that sets the default, but on MIPS
you have to actually write the specs.
- Geoffrey Keating <email@example.com>
More information about the Newlib