Re: which "include" being used?

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Tue, 20 Sep 2011 19:34:16 -0700
On Sep 20, 2011, at 6:19 PM, Kevin Oberman <kob6558_at_gmail.com> wrote:

> On Sep 20, 2011 6:09 PM, "paradox" <ddkprog_at_yahoo.com> wrote:
>> 
>> try remove or move /usr/include
>> and rebuild the world
>> 
>>> wrote:
>>>> Why build the world uses /usr/include ?
>>>> why not use "include" from the /obj/...include ?
>>>> 
>>>> issue to "build world" with loss of multiple files at
>>> /usr/include/
>>> 
>>> 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.
>>> 
>>> 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.
> 
> Sorry. I misunderstood.
> 
> 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.
> 
> Later in buildworld, they are re-built using the new toolchain, compiler,
> and header files.
> 
> 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 fix things :)..
-Garrett
Received on Wed Sep 21 2011 - 00:34:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC