http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50461
Bug #: 50461
Summary: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/.
as previously
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi,
I bootstrap gcc-4.6.1 by installing the gmp/, mpfr/ and mpc/ folders directly
in the GCC source tree as suggested in the installation notes.
Yesterday, they created a new mpfr-3.1.0-rc1 as a replacement for mpfc-3.0.1 we
used to have before. Now, with this new mpfr, the bootstrap fails at the step:
"Configuring mpc at stage 1".
Solution:
Compared to mpfr-3.0.1, the new mpfr-3.1.0-rc1 has an additional src folder.
Therefore, the ./configure of GCC has to be modified, eg by replacing (sed
syntax):
s|$$s/mpfr|&/src|g (1 occurrence)
and
s|$$r/$(HOST_SUBDIR)/mpfr|&/src|g (2 occurrences)
With this modification, everything works fine. I don't think that the MPFR
people will remove the src folder in the next future. I suppose this is for all
platforms, in any case at least Linux Ubuntu and Darwin Leopard.
Regards,
Denis Excoffier.