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}