On Wed, Nov 05, 2008 at 05:36:26PM -0500, Frank Lagor wrote: > Hi Michael, > > Thank you very much for your response. Should I try to reinstall GMP > and MPFR and disable the shared option? I did not completely > understand... > > Secondly, no other programs were installed with THIS GMP and MPFR. If > other programs were built and linked against another GMP or MPFR on > the machine, I don't know. > > Thanks again, > Frank Everybody does things differently. The way I do it on a new system is: SRC=<source dir> OBJ=<object dir> INS=<install dir> # Install gmp $ cd $OBJ $ mkdir gmp-4.2.2 $ cd gmp-4.2.2 $ $SRC/gmp-4.2.2/configure --prefix=$INS/gmp-4.2.2 --disable-shared $ make all install # Install mpfr $ mkdir ../mpfr-2.3.1 $ cd ../mpfr-2.3.1 $ $SRC/mpfr-2.3.1/configure --prefix=$INS/mpfr-2.3.1 --disable-shared \ --with-gmp-lib=$INS/gmp-4.2.2/lib --with-gmp-include=$INS/gmp-4.2.2/include \ --with-gmp-build=$OBJ/gmp-4.2.2 $ make all install # Install compiler (assuming you don't need to build a new binutils) $ mkdir ../gcc-4.4 $ cd ../gcc-4.4 $ $SRC/gcc-4.4/configure --prefix=$INS/gcc-4.4 --with-gmp=$INS/gmp-4.2.2 \ --with-mpfr=$INS/mpfr-2.3.1 $ make all install check -- Michael Meissner, IBM 4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA meissner@xxxxxxxxxxxxxxxxxx