Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 01:11:42 -0700
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Brian Behlendorf <brian@hyperreal.org>, current@FreeBSD.ORG
Subject:   Re: problem bootstrapping egcs
Message-ID:  <19990506011142.A25660@nuxi.com>
In-Reply-To: <Pine.BSF.4.05.9905052352080.20444-100000@pez.hyperreal.org>; from Brian Behlendorf on Wed, May 05, 1999 at 11:55:39PM -0700
References:  <Pine.BSF.4.05.9905052352080.20444-100000@pez.hyperreal.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> the build of egcs.  My understanding was that to bootstrap over the change
> I should first (before the make world) do:

VERY wrong.  All you want to do is a normal ``make world'' (or ``make
buildworld'')

> # cd /usr/src/gnu/usr.bin/cc; make clean; make obj
> # make
...
> ===> cc
...
> /usr/obj/usr/src/gnu/usr.bin/cc/cc/../cc_drv/libcc_drv.a(choose-temp.o):
> In function `make_temp_file':
> choose-temp.o(.text+0x284): undefined reference to `mkstemps'
> *** Error code 1

There are bootstraping issues that are dealt with in ``make world'' that
you are not handling in your manually doing it.  In this case egcs
depends on new libc functionality and you haven't manually built a new
libc first.

Of course ``make world'' builds the important librarires 1st and then
uses those when compiling the commands and other binaries.

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990506011142.A25660>