This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cc1 is missing libraries on linux


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]