From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 4 16:26:27 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E699016A41C for ; Mon, 4 Jul 2005 16:26:27 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id A968443D48 for ; Mon, 4 Jul 2005 16:26:27 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-1.free.fr (Postfix) with ESMTP id 1D66D1734AC for ; Mon, 4 Jul 2005 18:26:25 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id A33AE405B; Mon, 4 Jul 2005 18:26:32 +0200 (CEST) Date: Mon, 4 Jul 2005 18:26:32 +0200 From: Jeremie Le Hen To: freebsd-hackers@FreeBSD.org Message-ID: <20050704162631.GN73907@obiwan.tataz.chchile.org> References: <20050703082802.GF73907@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050703082802.GF73907@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.9i Cc: Subject: Re: buildworld sequence X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 16:26:28 -0000 Hi, > I looking for an explanation of the buildworld sequence : > legacy > bootstrap tools > build tools > cross tools > ... > > In fact, I read Makefile.inc1, so I have a basic idea of what each step > does, but I don't really understand > * what is the legacy step, > * why strfile(1), gperf(1) and so on are required to be built before > mostly everything else (bootstrap tools) > * why utilities in the build-tools target are built before gcc. > > I didn't asked all the questions I have in mind, but I would be glad if > someone could give me the general idea behind this or, even better, > point me some documentation. I checked developpers-handbook, there is > nothing about it, unfortunately. I overlook the description of each stage at the beginning of the file, I'll whip myself for this. > I was trying to understand this because I need to use a gcc(1) option > in CFLAGS for these tools for my integration of the ProPolice patch > in the build system. I tried to set CFLAGS as an environnement variable in BMAKEENV from Makefile.inc1, but the compilation line still doesn't't contain the flag I want. Any idea why this doesn't work ? Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >