This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bootstrap failure: crt0.o: No such file or directory



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]