diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-07-21 08:22:40 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-07-21 08:22:40 +0000 |
commit | afd8c3abeba9512dda8ef93ec7b681dfbf3935b5 (patch) | |
tree | 5904ad09707d60953d7d803692ba5bc5d330b908 /INSTALL | |
parent | 6bcad27bb1fbed6a1a83ee446ef22e3f0b994f41 (diff) | |
download | mpfr-afd8c3abeba9512dda8ef93ec7b681dfbf3935b5.tar.gz |
INSTALL: added information about setup after the library installation.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4106 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -25,6 +25,25 @@ 6. To install it (default "/usr/local" | see "--prefix" option), type: make install +If you installed MPFR (header and library) in directories that are +not searched by default by the compiler and/or linking tools, then, +like with other libraries, you may need to set up some environment +variables such as C_INCLUDE_PATH (to find the header mpfr.h), +LIBRARY_PATH (to find the library), and if the shared library has +been installed, LD_LIBRARY_PATH (before execution) or LD_RUN_PATH +(before linking); this list is not exhaustive and some environment +variables may be specific to your system. "make install" gives some +instructions; please read them. You can also find more information +in the manuals of your compiler and linker. + +Under Mac OS X, if the shared library was not installed and you use +Apple's linker (this is the default), you will also need to provide +the -search_paths_first linker flag ("-Wl,-search_paths_first" when +you link via gcc) to make sure that the right library is selected, +as by default, Apple's linker selects a shared library preferably, +even when it is farther in the library paths. If a wrong library is +selected due to this behavior, unexpected result may occur. + Building the documentation ========================== |