From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 01:19:18 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280F7106564A for ; Wed, 21 Sep 2011 01:19:18 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E61C58FC08 for ; Wed, 21 Sep 2011 01:19:17 +0000 (UTC) Received: by iadk27 with SMTP id k27so1846806iad.13 for ; Tue, 20 Sep 2011 18:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m8VIS+YOJtK3IqtFWAmBuuR8XAT81JFGH7TYi2fJi/U=; b=taGyAo5qt1s2o5GKgwwdg8HPWoZ1sda+UTDoX8xnsvO6Bkf0+z7QzmIYQKeiCbbsJJ IFqhn8PXIMHUZ6hQJ85UowgORMuJWnBB2Y2xjxeWy7IAxSJYITByPQq/cETz3zTHlXWW jdkacaoren+21sXfANkah98KYOi++r/EIMwJU= MIME-Version: 1.0 Received: by 10.231.82.131 with SMTP id b3mr81219ibl.74.1316567957240; Tue, 20 Sep 2011 18:19:17 -0700 (PDT) Received: by 10.231.36.69 with HTTP; Tue, 20 Sep 2011 18:19:17 -0700 (PDT) Received: by 10.231.36.69 with HTTP; Tue, 20 Sep 2011 18:19:17 -0700 (PDT) In-Reply-To: <1316560232.58213.YahooMailClassic@web120530.mail.ne1.yahoo.com> References: <1316560232.58213.YahooMailClassic@web120530.mail.ne1.yahoo.com> Date: Tue, 20 Sep 2011 18:19:17 -0700 Message-ID: From: Kevin Oberman To: paradox Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: which "include" being used? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 01:19:18 -0000 On Sep 20, 2011 6:09 PM, "paradox" 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@gmail.com