This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cc1 is missing libraries on linux
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Christer Solskogen <christer dot solskogen at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 9 Mar 2012 18:55:27 +0000
- Subject: Re: cc1 is missing libraries on linux
- References: <jjd318$ij0$1@dough.gmane.org>
On 9 March 2012 14:10, Christer Solskogen wrote:
> Hi!
>
> I installed (from source) gmp, mpfr, mpc, ppl, cloog, binutils and gcc in
> the same PREFIX. Everything compiled just fine. But running gcc is another
> matter, or in fact, cc1. cc1 is missing a lot of libraries:
As it says as http://gcc.gnu.org/wiki/InstallingGCC "if GCC links
dynamically to the GMP, MPFR or MPC then the relevant shared libraries
must be in the dynamic linker's path, both when building gcc and when
using the installed compiler"
I suggest reading that whole page.