Re: gmp/mpfr - build, host, or target?

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

 



NightStrike wrote:

> GCC needs GMP And MPFR.  What does it need it for, though?  Is it used
> for the build machine, host machine, target machine, or some
> combination thereof?  Also, is it needed for all languages?

They are host libraries and are used to do constant folding and
simplification (and whatever other misc optimizations) in a
host-independent manner.  That is, gcc must uphold the notion that the
code generated for a given input and a given target should be identical
no matter whether the compiler is native or a cross, and no matter what
the host of the cross is.  Without using these libraries to do those
simplifications, the results might vary based on differences in host
architecture or host precision or host libm bugs or whatnot.  They are
needed for gfortran only in 4.2, but for all languages in 4.3.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux