From abcc9b2a3ad392f3abf3e80fa0e51a47e8629917 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 30 Sep 2010 18:37:13 +0000 Subject: [PATCH] install.texi: Suggest using LD_LIBRARY_PATH to find libs for GMP, MPFR and MPC. * doc/install.texi: Suggest using LD_LIBRARY_PATH to find libs for GMP, MPFR and MPC. Co-Authored-By: Ralf Wildenhues From-SVN: r164758 --- gcc/ChangeLog | 6 ++++++ gcc/doc/install.texi | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87a86c4ff10..df2365ba706 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-09-30 Jonathan Wakely + Ralf Wildenhues + + * doc/install.texi: Suggest using LD_LIBRARY_PATH to find libs + for GMP, MPFR and MPC. + 2010-09-30 Rainer Orth * config/sparc/sparc.opt (mimpure-text): Move ... diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index f4f4a154399..a54b450755f 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1574,7 +1574,10 @@ they are installed (@samp{--with-gmp=@var{gmpinstalldir}}, @option{--with-mpc-lib=@var{mpcinstalldir}/lib} and @option{--with-mpc-include=@var{mpcinstalldir}/include}. If these shorthand assumptions are not correct, you can use the explicit -include and lib options directly. +include and lib options directly. You might also need to ensure the +shared libraries can be found by the dynamic linker when building and +using GCC, for example by setting the runtime shared library path +variable (@env{LD_LIBRARY_PATH} on GNU/Linux and Solaris systems). @item --with-ppl=@var{pathname} @itemx --with-ppl-include=@var{pathname}