Date: Thu, 21 May 2009 12:54:58 +0100 From: xorquewasp@googlemail.com To: Robert Watson <rwatson@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: Re: compiling system binutils as cross tools Message-ID: <20090521115458.GA54961@logik.internal.network> In-Reply-To: <alpine.BSF.2.00.0905211116310.25537@fledge.watson.org> References: <20090521095305.GA27043@logik.internal.network> <alpine.BSF.2.00.0905211116310.25537@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-05-21 11:20:21, Robert Watson wrote: > Not really my area, but if you haven't found "make toolchain" and "make > buildenv" then you might want to take a look. Typically these will be > combined with TARGET_ARCH=foo, and in your case foo is 'amd64'. The > former builds the toolchain required for the architecture, and the latter > creates a shell environment with paths appropriately munged and > environments appropriately set to cross-compile using that chain. > Normally the toolchain step is part of our integrated > buildworld/buildkernel/etc process, but you can also use it for other > things with buildenv. Thanks, 'make toolchain' looks like it'll work. 'make buildenv' gave me the paths to the binaries I needed to tell the compiler I'm working on to use those for cross compilation. What tangled webs we weave... cheers, xw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090521115458.GA54961>