summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-06-15 16:56:09 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-06-15 16:56:09 +0000
commit142884126d921a7b6848624e9009bc3a70a42b93 (patch)
treea35ea3323437e4f5c5f7aea0cb7c067bf2f3ad91 /INSTALL
parent46302c81ff6e4e04c7a1ecd65b8b81e061f05c02 (diff)
downloadmpfr-142884126d921a7b6848624e9009bc3a70a42b93.tar.gz
[INSTALL] comments from Vincent Lefevre
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6960 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL18
1 files changed, 7 insertions, 11 deletions
diff --git a/INSTALL b/INSTALL
index 8c1b3826b..458a3643a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -351,9 +351,7 @@ a. Using MinGW
1 - We advise to use MinGW (http://www.mingw.org/), which is simpler and
less demanding than Cygwin. Contrary to Cygwin, it also provides native
- Windows code. The binaries compiled with Cygwin require a dynamic
- library (cygwin.dll) to work; there is a Cygwin option -mno-cygwin to
- build native code, but it may require some non-portable tricks.
+ Windows code.
2 - If you just want to make a binary with gcc, there is nothing to do:
GMP, MPFR and the program compile exactly as under Linux.
@@ -361,13 +359,9 @@ a. Using MinGW
environment, you may need the -mno-cygwin gcc option (otherwise
a typical error is _P_WAIT being undeclared).
-3 - If you want to make libraries to work under another Windows compiler
- like Visual C / C++, you have two options. Since the unix-like *.a
- library files are compatible with Windows *.lib files, you can simply
- rename all *.a libraries to *.lib. The second option is to build
- MPFR with the Microsoft Visual Studio compiler to produce Windows
- libraries directly (Visual Studio build projects for MPFR are
- available at http://fp.gladman.plus.com/computing/gmp4win.htm).
+3 - If you want to make libraries work under another Windows compiler
+ like Visual C / C++, since the unix-like *.a library files are compatible
+ with Windows *.lib files, you can simply rename all *.a libraries to *.lib.
With gmp-4.1.3, the only remaining problem seems to be the "alloca" calls
in GMP. Configuring GMP and MPFR with --enable-alloca=malloc-reentrant
@@ -419,7 +413,9 @@ b. Using Cygwin
This build should be similar to that for MinGW except that the resulting
library depends on the Cygwin DLL and cannot therefore be used with
-Visual Studio as described above.
+Visual Studio as with MinGW. Indeed, the binaries compiled with Cygwin
+require a dynamic library (cygwin.dll) to work; there is a Cygwin option
+-mno-cygwin to build native code, but it may require some non-portable tricks.
c. Using Visual C++ 2008/2010
=============================