Date: Tue, 20 Sep 2011 19:34:16 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Kevin Oberman <kob6558@gmail.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, paradox <ddkprog@yahoo.com> Subject: Re: which "include" being used? Message-ID: <B8E24F18-E145-40EC-80CC-913784D9AF4B@gmail.com> In-Reply-To: <CAN6yY1to1tdofcErNecuGw=47WxKC5-XT0n=OrJ=KONJjTrByw@mail.gmail.com> References: <CAN6yY1tF92Sp2NS=Crr1wn7uvuuOeY%2B_j-eOOFPcMZ2ErxnQ9Q@mail.gmail.com> <1316560232.58213.YahooMailClassic@web120530.mail.ne1.yahoo.com> <CAN6yY1to1tdofcErNecuGw=47WxKC5-XT0n=OrJ=KONJjTrByw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 20, 2011, at 6:19 PM, Kevin Oberman <kob6558@gmail.com> wrote: > On Sep 20, 2011 6:09 PM, "paradox" <ddkprog@yahoo.com> wrote: >>=20 >> try remove or move /usr/include >> and rebuild the world >>=20 >>> wrote: >>>> Why build the world uses /usr/include ? >>>> why not use "include" from the /obj/...include ? >>>>=20 >>>> issue to "build world" with loss of multiple files at >>> /usr/include/ >>>=20 >>> Did your make "build world" or "buildworld"? It should be >>> all one word >>> and it does use >>> the header files in /usr/obj/... or /usr/src/... At least >>> for me, it >>> does. Failing to do so >>> would break a lot of things. >>>=20 >>> You should also look at the magic done by the .mk files. >>> This does >>> make some of the >>> header files look like they were pulled from /usr/includes >>> because of >>> the things the .mk >>> files do to your environment. >=20 > Sorry. I misunderstood. >=20 > To build a new system, you have to start with something. You build the > toolcain and gcc. Those have to be built first with the existing compiler= > and toolchain which uses the existing system include files. >=20 > Later in buildworld, they are re-built using the new toolchain, compiler, > and header files. >=20 > If you lost your system header files, you will need to restore them before= > you can re-build the system. > Sorry. I'd unpack a tarball from the most recent release. It's the easiest way to f= ix things :).. -Garrett=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8E24F18-E145-40EC-80CC-913784D9AF4B>