diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-03-04 14:08:33 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-03-04 14:08:33 +0000 |
commit | a0fa8f9a5646aaa1fa00af6e80a155f578df5375 (patch) | |
tree | 53d769dec1d75a1cf6f407202e3dc67578334406 /INSTALL | |
parent | 61d8be570cac76fe3b9772d9d2cf873a97af249c (diff) | |
download | mpfr-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
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 =============== |