From owner-freebsd-hackers@FreeBSD.ORG Tue May 19 13:55:36 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC86C1065680 for ; Tue, 19 May 2009 13:55:36 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 755CA8FC13 for ; Tue, 19 May 2009 13:55:36 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.3/8.14.3/NETPLEX) with ESMTP id n4JDtZP9017731; Tue, 19 May 2009 09:55:35 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Tue, 19 May 2009 09:55:35 -0400 (EDT) Date: Tue, 19 May 2009 09:55:35 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: xorquewasp@googlemail.com In-Reply-To: <20090519060405.GA43127@logik.internal.network> Message-ID: References: <20090505005128.GA4519@logik.internal.network> <20090505022151.GA32477@logik.internal.network> <20090506140325.GA69468@logik.internal.network> <20090506152222.GC69468@logik.internal.network> <20090508211022.GA37475@logik.internal.network> <20090518084831.GA95354@logik.internal.network> <20090519060405.GA43127@logik.internal.network> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: bootstrapping gnat GCC on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 13:55:37 -0000 On Tue, 19 May 2009, xorquewasp@googlemail.com wrote: > On 2009-05-18 18:36:15, Daniel Eischen wrote: >> Hmm, if the system binutils is 2.15, then it should build >> as a cross. You can do a cross build of all FreeBSD - I >> think you just set TARGET="amd64" to build amd64 from >> a different arch. Part of this process should be to >> create a cross binutils toolset. > > Ok. > > Silly question - is it actually possible to build contrib/binutils > (including TARGET=amd64) without building the whole tree? Trying > the obvious: > > cd /usr/obj > /usr/src/contrib/binutils/configure \ > --target=x86_64-pc-freebsd7.2 \ > --host=i386-pc-freebsd7.2 \ > --build=i386-pc-freebsd7.2 \ > --prefix=/cross/x86_64 > > .. Didn't work (didn't really expect it to). I've not done a cross build before, but I'd look in src/Makefile.inc1 if you want to try to build it piecemeal (see the target for cross-tools). -- DE