summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorschevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4>2010-10-18 14:14:49 +0000
committerschevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4>2010-10-18 14:14:49 +0000
commit630a51ca79d3b01bf2195c13fa5d9cfb4dae9f8f (patch)
tree2a4034a70a60ca133f5ec3363c205558874b3d10 /INSTALL
parent59092e00fd11fc3a71ff5495f65ad9ad65166308 (diff)
downloadmpfr-630a51ca79d3b01bf2195c13fa5d9cfb4dae9f8f.tar.gz
Mention the warning message displayed by gcc when the ABI of gcc and MPFR
differ. Note: the message does not automatically imply the problem; however, if the message appears, the ABI somehow differ, so it is worth mentioning it. Users might look for the message in INSTALL in order to see if their problem is mentioned. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7208 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL7
1 files changed, 6 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 15d0247f5..6fffa1cb0 100644
--- a/INSTALL
+++ b/INSTALL
@@ -309,7 +309,12 @@ Notes about ABI
On 64-bit computers, it may happen that the default ABI (Application Binary
Interface) chosen by MPFR does not correspond to the default one chosen by
-the compiler. In fact, since MPFR relies on GMP, it uses the same ABI as GMP.
+the compiler.
+
+In particular, this kind of message may indicate the problem:
+/usr/bin/ld: skipping incompatible mpfr/src/.libs/libmpfr.a when searching for -lmpfr
+
+In fact, since MPFR relies on GMP, it uses the same ABI as GMP.
To be sure that your program compiles and links correctly, use the same
compiler flags as MPFR does (look for CFLAGS in config.log).