From 86cae97a6049c3b2d4eb1a83a8cd94c312180fc5 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 13 Oct 2011 11:20:23 +0000 Subject: [INSTALL] Added notes for HP-UX after a bug report. See discussion: https://sympa.inria.fr/sympa/arc/mpfr/2011-10/msg00042.html git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@7917 280ebfd0-de03-0410-8827-d642c229c3f4 --- INSTALL | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index b6ce0b4d2..21c936dec 100644 --- a/INSTALL +++ b/INSTALL @@ -471,6 +471,22 @@ due to the early compiler tests, as gcc will not compile any program if OBJECT_MODE is 64 and the -maix64 option is not provided. +Notes on HP-UX +============== + +If you use the --with-gmp-lib=DIR or --with-gmp=DIR configure option and +an old MPFR is already installing in DIR, then you need to install MPFR +(make install) or remove the old MPFR version before running the tests +(make check). The reason is that libtool 2.4 adds the -L../src/.libs or +equivalent (where the MPFR library that has just been compiled can be +found) after $(LDFLAGS), which contains the "-L DIR" added at configure +time. Alternatively, you can try to predefine LDFLAGS with something +like LDFLAGS="-L$(top_builddir)/src/.libs" (the MPFR configure script +is written so that "-L DIR" will appear after the predefined options, +as required here). Or avoid the --with-gmp* options and use environment +variables as said above. + + MPFR for use with 32-bit Windows Applications (win32) ===================================================== -- cgit v1.2.1