building a gcc crosscompiler

Bruce Cran bruce at cran.org.uk
Thu Apr 9 08:38:46 UTC 2009


On Wed, 08 Apr 2009 21:30:14 -0400
Chuck Robey <chuckr at telenix.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Since the last time I built a gcc crosscompiler, the gcc folks have
> added in dependencies on mpfr and gmp libraries.  When I first read
> this, I was worried that I had a chicken/egg problem, but I found
> that you can do with the host's version of those libraries.  I found
> a port of gnu libmpfr, but I notice here that FreeBSD has it's own
> libmp, and I don't know if the 4.3.1 version of gnu gcc can use our
> libmp, or if I need to install the port "libgmp4" and tell the gnu
> gcc configure about which mp I'm using.
> 
> So, if you know if I can use FreeBSD's libmp, or if I need to build
> the ports libgmp4, please let me know.

I don't know if it's required, but devel/cross-gcc does depend on
math/libgmp4 .

-- 
Bruce Cran


More information about the freebsd-hackers mailing list