building a gcc crosscompiler

Stanislav Sedov stas at deglitch.com
Mon Apr 20 17:02:05 UTC 2009


On Thu, 9 Apr 2009 09:38:37 +0100
Bruce Cran <bruce at cran.org.uk> wrote:

> 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 .
> 

Yeah, it wants it (at least on my system). I will check if it can
be replaced with the system libmp.

-- 
Stanislav Sedov
ST4096-RIPE

!DSPAM:49ecaa8b967002118561090!




More information about the freebsd-hackers mailing list