diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -238,13 +238,19 @@ specific architecture. [1] http://permalink.gmane.org/gmane.comp.gnu.libtool.patches/10111 -Note: By default, the configure script tries to set CC/CFLAGS to GMP's -ones (this feature needs GMP 4.3.0 or later, or the --with-gmp-build -option). However this is not guaranteed to work as the configure script -does some compiler tests earlier, and the change may be too late. Also, -the values obtained from GMP may be incorrect if GMP has been built -on a different machine. In such a case, the user may need to specify -CC/CFLAGS as explained below. +Note: By default, the configure script tries to set CC / CFLAGS to GMP's +ones from gmp.h (__GMP_CC / __GMP_CFLAGS) in order to ensure that MPFR is +built with the same ABI as GMP. The reason is that when GMP is built, it +may set CC / CFLAGS to select an ABI that is not the default one in order +to have a better performance. The -pedantic option in GMP's CFLAGS, when +present (which is the case by default), is removed, because the MPFR +build system uses some C extensions (when this script detects that they +are supported) and -pedantic yields too many useless warnings. However, +this setting from GMP is not guaranteed to work as the configure script +does some compiler tests earlier, and a conflict may arise. Also, the +values obtained from GMP may be incorrect for the MPFR build if GMP has +been built on a different machine; in such a case, the user may need to +specify CC / CFLAGS, as explained below. Moreover, even without --with-gmp-build and --enable-gmp-internals, MPFR might use some GMP internals by mistake. This would be a bug, |