diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-01-24 10:31:26 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-01-24 10:31:26 +0000 |
commit | 702933006f2c2ca005e3dd2842880325a4a9851b (patch) | |
tree | 59d99b7dea6bd23963539d7d1a9f0fab84d27fcc /INSTALL | |
parent | 44b7a666031743058aa504d3d3b5a9a856dde744 (diff) | |
download | mpfr-702933006f2c2ca005e3dd2842880325a4a9851b.tar.gz |
Corrections on the typography.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3209 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -5,7 +5,7 @@ MPFR requires GMP version 4.1 or later. 1. In the MPFR build directory, to detect your system, type: - ./configure + ./configure 2. To build the library, type: make @@ -46,11 +46,11 @@ Building MPFR with internal GMP header files =================== --prefix=DIR installs MPFR headers and library in DIR/include - and DIR/lib respectively (The default is `/usr/local`). + and DIR/lib respectively (the default is `/usr/local`). --with-gmp-include=DIR assumes that DIR contains gmp.h [, gmp-impl.h, ...] --with-gmp-lib=DIR assumes that DIR contains libgmp.a ---with-gmp-build=DIR assumes that DIR contains the source of GMP. +--with-gmp-build=DIR assumes that DIR contains the source of GMP. same as --with-gmp-lib=DIR/.libs and --with-gmp-include=DIR --with-gmp=DIR assumes that DIR is where you have installed GMP. @@ -60,7 +60,7 @@ Building MPFR with internal GMP header files --enable-assert Build MPFR with assertions. --with-irix64 Irix64 support. -Run "./configure --help" to see the other options (`autoconf` default options). +Run "./configure --help" to see the other options (autoconf default options). In case of problem @@ -87,8 +87,8 @@ In case of problem If you can't solve your problem, you could contact us at mpfr@loria.fr, indicating the machine and operating system used (uname -a), the compiler and version used (gcc -v if you use gcc), the compile options used if any, - the version of GMP and MPFR used and a description of the problem - encountered. Please send us also a log of the installation (`config.log`). + the version of GMP and MPFR used and a description of the problem + encountered. Please send us also a log of the installation (config.log). Note that even if you can build MPFR with a C++ compiler you can't run the test suite: C and C++ are not the same language! @@ -97,31 +97,31 @@ In case of problem Notes on Windows 32 =================== -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 +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. -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. +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. -3 - if you want to make libraries to work under another Windows compiler +3 - If you want to make libraries to work under another Windows compiler like Visual C / C++, the "trick" is that the unix-like *.a files created by gcc are entirely compatible with the Windows *.lib files. So you just have to rename the *.a files into *.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 - should work (If you build MPFR with gmp internal files). - - Or you could add the library + in GMP. Configuring GMP and MPFR with --enable-alloca=malloc-reentrant + should work (if you build MPFR with GMP internal files). + + Or you could add the library "$MINGWIN$/lib/gcc-lib/mingw32/$VERSION$/libgcc.a" to your project: it contains all the extra-functions needed by a program - compiled by GCC (Division of 64 bits integer, bcopy, alloca, ...). - Of course, include it iff your compiler is not GCC. + compiled by gcc (division of 64 bits integer, bcopy, alloca...). + Of course, include it if and only if your compiler is not gcc. Notes on Windows 64 =================== - - MPFR has not been tested on Windows 64. + +MPFR has not been tested on Windows 64. |