diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-03-04 14:07:22 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-03-04 14:07:22 +0000 |
commit | 2eaf18b830de9585c4d3d1fbb8f94c2824dae78a (patch) | |
tree | bfd08eab14eab030f0c7730b9a10ce15da1c063d /INSTALL | |
parent | 61eb3ad6f0eb2d4908e71f93e63269f2a8a4e6d1 (diff) | |
download | mpfr-2eaf18b830de9585c4d3d1fbb8f94c2824dae78a.tar.gz |
[INSTALL] Some improvement about MinGW and __USE_MINGW_ANSI_STDIO.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10196 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -537,9 +537,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 =============== |