compiling system binutils as cross tools

Stanislav Sedov stas at FreeBSD.org
Thu May 21 22:52:46 UTC 2009


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

On Thu, 21 May 2009 17:44:42 +0100
xorquewasp at 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 working fine.
> 
> Unfortunately, as noted in this thread:
> 
>   http://marc.info/?l=freebsd-hackers&m=124146166902690&w=2
> 
> Using that port works but creates a compiler that emits code
> that can't be assembled by the default system binutils. Not
> great for a port...
> 

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?

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

iEYEARECAAYFAkoV22IACgkQK/VZk+smlYGJSACghXD2H4iN9HE/DmNDKhdNVfMY
/SQAnjQ+HMeyMP9ZKJhF5F09Buex1tOz
=VB1I
-----END PGP SIGNATURE-----

!DSPAM:4a15db3c994295534499307!




More information about the freebsd-hackers mailing list