Re: compiling system binutils as cross tools

2009-05-22 Thread xorquewasp
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 ass

Re: compiling system binutils as cross tools

2009-05-21 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 May 2009 17:44:42 +0100 xorquew...@googlemail.com mentioned: > On 2009-05-21 16:10:18, Stanislav Sedov wrote: > > You can also try using devel/cross-binutils to build cross-tools for > > x86_64-freebsd. Random people reported they're workin

Re: compiling system binutils as cross tools

2009-05-21 Thread Julian Elischer
Robert Watson wrote: On Thu, 21 May 2009, xorquew...@googlemail.com wrote: How do I compile the system binutils (contrib/binutils) as i386 -> x86_64 cross utils? That is, binutils that will run on an i386 host but will produce x86_64 binaries? I'm trying to produce a bootstrapping compiler

Re: compiling system binutils as cross tools

2009-05-21 Thread xorquewasp
On 2009-05-21 16:10:18, Stanislav Sedov wrote: > You can also try using devel/cross-binutils to build cross-tools for > x86_64-freebsd. Random people reported they're working fine. Unfortunately, as noted in this thread: http://marc.info/?l=freebsd-hackers&m=124146166902690&w=2 Using that port

Re: compiling system binutils as cross tools

2009-05-21 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 May 2009 10:53:05 +0100 xorquew...@googlemail.com mentioned: > Hi. > > How do I compile the system binutils (contrib/binutils) as i386 -> > x86_64 cross utils? That is, binutils that will run on an i386 host but > will produce x86_64 binar

Re: compiling system binutils as cross tools

2009-05-21 Thread xorquewasp
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 r

Re: compiling system binutils as cross tools

2009-05-21 Thread Robert Watson
On Thu, 21 May 2009, xorquew...@googlemail.com wrote: How do I compile the system binutils (contrib/binutils) as i386 -> x86_64 cross utils? That is, binutils that will run on an i386 host but will produce x86_64 binaries? I'm trying to produce a bootstrapping compiler for a port and need to

compiling system binutils as cross tools

2009-05-21 Thread xorquewasp
Hi. How do I compile the system binutils (contrib/binutils) as i386 -> x86_64 cross utils? That is, binutils that will run on an i386 host but will produce x86_64 binaries? I'm trying to produce a bootstrapping compiler for a port and need to get these working. I've spent a while reading Makefile