From 2eaf18b830de9585c4d3d1fbb8f94c2824dae78a Mon Sep 17 00:00:00 2001 From: vlefevre Date: Fri, 4 Mar 2016 14:07:22 +0000 Subject: [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 --- INSTALL | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index f368000c7..08f07e9ed 100644 --- a/INSTALL +++ b/INSTALL @@ -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 =============== -- cgit v1.2.1