On Sat, 21 Jan 2012, Paul Smith wrote:
On Wed, 2011-12-14 at 09:45 +0000, Jonathan Wakely wrote:
2011/12/14 Jędrzej Dudkiewicz:
1) Am I building everything the right way,
The process is much simpler if you let GCC build the GMP, MPFR and MPC
libs, instead of installing them separately. See
http://advogato.org/person/redi/diary/253.html
Unfortunately this method is broken, at least in GCC 4.6.2.
It advises to use ./contrib/download_prerequisites, which doesn't download
the latest versions of gmp/mpfr/mpc but versions that are known to work.
I filed a bug (with patch):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51935
Dup of 50461.
A good patch would detect the appropriate path depending on the version of
mpfr.
If we were to require mpfr-3.1+ for in-tree builds, at least
download_prerequisites and the documentation should be updated.
--
Marc Glisse