From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 02:34:29 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 66688106564A for ; Wed, 21 Sep 2011 02:34:29 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2240B8FC08 for ; Wed, 21 Sep 2011 02:34:29 +0000 (UTC) Received: by gyf2 with SMTP id 2so1068180gyf.13 for ; Tue, 20 Sep 2011 19:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=qQP56I/pXhiBV+qqt1vmZMrjxVGIWv0MB+9lhApT9DE=; b=m4PkmJas3VLSXP27tpK9oI/+8xVjXYlzIj51b/3U7pFxNGNBpbO7LqkhzIWcHP3Ibd mpODvWGtXhBUU7U2sYyrvKE4GQCk1VQwsMrb4qlaXytGKFvkouejDj9PYUyi3nMdFUmV e2kMqIL5gpX44OoGhkWMqhA/y3M0rpvWzVVM4= Received: by 10.236.129.238 with SMTP id h74mr1112174yhi.99.1316572468630; Tue, 20 Sep 2011 19:34:28 -0700 (PDT) Received: from [10.48.78.188] (mobile-166-205-137-195.mycingular.net. [166.205.137.195]) by mx.google.com with ESMTPS id x65sm4629915yhh.26.2011.09.20.19.34.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Sep 2011 19:34:27 -0700 (PDT) References: <1316560232.58213.YahooMailClassic@web120530.mail.ne1.yahoo.com> In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8L1) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (8L1) From: Garrett Cooper Date: Tue, 20 Sep 2011 19:34:16 -0700 To: Kevin Oberman Cc: "freebsd-current@freebsd.org" , paradox 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 02:34:29 -0000 On Sep 20, 2011, at 6:19 PM, Kevin Oberman wrote: > On Sep 20, 2011 6:09 PM, "paradox" 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=