which "include" being used?

Lowell Gilbert freebsd-current-local at be-well.ilk.org
Wed Sep 21 00:14:55 UTC 2011


paradox <ddkprog at yahoo.com> writes:

> Why build the world uses /usr/include ?
> why not use "include" from the /obj/...include ?

First it builds the toolchain, including the include files (as well as
the compiler, etc.).  To do this, it has to use the system include
files.  Once that is done, it uses the newly built tools and not the
system ones.

> issue to "build world" with loss of multiple files at /usr/include/

You'll need to restore them some other way to be able to run
buildworld.  Assuming you build and install the world successfully, you
will then have a correct set of files in /usr/include.


More information about the freebsd-current mailing list