summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-03-04 14:08:33 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-03-04 14:08:33 +0000
commita0fa8f9a5646aaa1fa00af6e80a155f578df5375 (patch)
tree53d769dec1d75a1cf6f407202e3dc67578334406
parent61d8be570cac76fe3b9772d9d2cf873a97af249c (diff)
downloadmpfr-a0fa8f9a5646aaa1fa00af6e80a155f578df5375.tar.gz
[INSTALL] Some improvement about MinGW and __USE_MINGW_ANSI_STDIO.
(merged changeset r10196 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10197 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--INSTALL9
1 files changed, 6 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index a4aba2fb7..e42f55f18 100644
--- a/INSTALL
+++ b/INSTALL
@@ -530,9 +530,12 @@ a. Using MinGW
you can use the MinGW runtime package (which is an integral part of MinGW).
For example, with MinGW versions 3.15 and later you can get an
ISO-compliant printf() if you compile your application with either
- '-ansi', '-posix' or '-D__USE_MINGW_ANSI_STDIO'. For example, you should
- compile GMP (not MPFR) with CC="gcc -D__USE_MINGW_ANSI_STDIO" (since the
- printf modifiers %Ld and %td are passed to GMP).
+ '-ansi', '-posix' or '-D__USE_MINGW_ANSI_STDIO'. In order to have the
+ MPFR formatted output functions based on ISO-compliant printf(), you
+ need to compile GMP (not MPFR) with CC="gcc -D__USE_MINGW_ANSI_STDIO"
+ (since the standard printf modifiers %Ld and %td are passed to GMP).
+ Building MPFR with -D__USE_MINGW_ANSI_STDIO is useless except for some
+ error messages in the test suite.
b. Using Cygwin
===============