From: Jonathan Wakely Date: Thu, 30 Sep 2010 18:37:13 +0000 (+0000) Subject: install.texi: Suggest using LD_LIBRARY_PATH to find libs for GMP, MPFR and MPC. X-Git-Tag: releases/gcc-4.6.0~4022 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abcc9b2a3ad392f3abf3e80fa0e51a47e8629917;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87a86c4ff10d..df2365ba7067 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 f4f4a154399d..a54b450755f5 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}