This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure: crt0.o: No such file or directory
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: Bootstrap failure: crt0.o: No such file or directory
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 27 Jun 1998 00:08:05 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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