Re: which "include" being used?

From: Kevin Oberman <kob6558_at_gmail.com>
Date: Tue, 20 Sep 2011 18:19:17 -0700
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.

R. Kevin Oberman, Network Engineer
Retired
kob6558_at_gmail.com
Received on Tue Sep 20 2011 - 23:19:18 UTC

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