Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cross-build failure from Linux


> configure:5670: result: no
> configure:5691: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and
MPC 0.8.0+.
> Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
> their locations.  Source code for these libraries can be found at
> their respective hosting sites as well as at
>  See also
> for additional info.  If
> you obtained GMP, MPFR and/or MPC from a vendor distribution package,
> make sure that you have installed both the libraries and the header
> files.  They may be located in separate packages.
> ----- cut here -----

> Any ideas?

> In fact, I haven't been able to crossbuild NetBSD from non-NetBSD
> hosts for a while, and I think I tried various variants of Linux and
> FreeBSD... although I can't remember if I tried elsewhere than on this

> Thanks,

> Julio Merino / @jmmv

I've cross-built NetBSD releng-5, -6 and -HEAD from FreeBSD: succeeded perhaps 
a bit better than half the time for i386 but only infrequently for amd64.

FreeBSD base gcc version is 4.2.1 because that is the last version that doesn't 
use GPL 3 license.  I think that might have been less capable than a more 
up-to-date version.

There are newer versions of gcc in FreeBSD ports.

I had much better success rate building from the resulting NetBSD builds which 
were successful.

I am also thinking of cross-building Linux, at least a starter set, from 
FreeBSD or NetBSD; would surely use something newer than gcc 4.2.1.

NetBSD is a dubious proposition on my system; FreeBSD is much sturdier.


Home | Main Index | Thread Index | Old Index