compiling system binutils as cross tools

Stanislav Sedov stas at FreeBSD.org
Thu May 21 12:10:28 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 21 May 2009 10:53:05 +0100
xorquewasp at 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 binaries?
> 
> I'm trying to produce a bootstrapping compiler for a port and need to
> get these working. I've spent a while reading Makefiles but would rather
> get information from someone who actually knows rather than waste
> *another* week on this stuff.
> 
> I'd rather not compile the entire world if it can be avoided.
> 

You can also try using devel/cross-binutils to build cross-tools for
x86_64-freebsd. Random people reported they're working fine.

- -- 
Stanislav Sedov
ST4096-RIPE
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkoVRK4ACgkQK/VZk+smlYGbjwCff1f6hJ+PAE4OSqPV7IIQi8kY
8iwAn2CcQ3H9D5Q+mZdern+11PgRGapq
=Amr/
-----END PGP SIGNATURE-----

!DSPAM:4a1544b0994291380925937!




More information about the freebsd-hackers mailing list