https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65535

--- Comment #5 from Andreas Tobler <andreast at gcc dot gnu.org> ---
Here my patch:

https://gcc.gnu.org/ml/gcc-patches/2015-04/msg00839.html

I do not like to hardcode a version number. Would mean to update when needed..

The important thing here is, if you build a cross compiler make sure that the
binutils and the gcc target match, including a major version number.

E.g: the binutils --target=amd64-unknown-freebsd10.1 must be equal to the gcc
--target=amd64-unknown-freebsd10.1.

It doesn't work if you give a target w/o version number to binutils and one
with version number to gcc configury.

The mentoned patch was tested on a CentOS -> amd64-unknown-freebsd11.0 cross
also on native FreeBSD (armv6/hf, amd64).

Reply via email to