Bootstrap failure: crt0.o: No such file or directory
Jeffrey A Law
law@cygnus.com
Fri Jun 26 23:11:00 GMT 1998
In message < Pine.GSO.3.96.980626155313.6891M-100000@markab.dbai.tuwien.ac.at >you write:
> On FreeBSD 3.0-980621-SNAP bootstraps of the current CVS sources
> fail with the following error message.
>
> Bootstrapping compiler is gcc 2.7.2.1, I did a simple
> `configure --prefix=/path`.
>
> cccp cccp.o cexp.o prefix.o \
> version.o obstack.o
> ld: crt0.o: No such file or directory
> collect2: ld returned 1 exit status
This means that egcs doesn't know how to find the system crt0.o.
Odds are the FreeBSD folks moved it out of the standard locations;
you'll have to tell gcc how to find it. I believe the magic macro
you'll need to define is MD_STARTFILE_PREFIX.
If that is the problem then you'll probably also need to make a
new config file for that version of freebsd.
jeff
More information about the Gcc-bugs
mailing list