Date: Fri, 22 May 2009 09:15:25 +0100 From: xorquewasp@googlemail.com To: Stanislav Sedov <stas@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: Re: compiling system binutils as cross tools Message-ID: <20090522081525.GA59432@logik.internal.network> In-Reply-To: <20090522025322.2acebb01.stas@FreeBSD.org> References: <20090521095305.GA27043@logik.internal.network> <20090521161018.66b3015c@FreeBSD.org> <20090521164442.GA59069@logik.internal.network> <20090522025322.2acebb01.stas@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-05-22 02:53:22, Stanislav Sedov wrote: > > Why not make this compiler to use fresh binutils from cross-binutils > instead of using systems binutils? This will also allow to support > newer processor families and architectures. Is it possible to tell > GNAT where to look for binutils to assembly and link with? > Well, like I said, at the moment there's a choice of using the system binutils or the cross-binutils port. The compiler isn't actually intended to be a cross compiler but a native amd64 compiler (the lang/gnat-gcc* ports have been marked as i386-only for ages). I'm not sure if it's possible to tell GNAT where to look for binutils at runtime. I have some patches to send to both Adacore and the GCC developers to add support for FreeBSD amd64. I decided to use the system binutils because in order for someone to actually build the port, they have to use bootstrap compiler binaries provided by me (the gnat-gcc* ports do the same thing) and having those binaries depend on a moving target like cross-binutils might create even more complications. I'll be providing full documentation and build scripts to show how the bootstrapping compiler was created so if someone feels the need to use the cross-binutils port, they can. cheers, xw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090522081525.GA59432>