On 28 March 2014 10:35, Christer Solskogen wrote: > The "normal" ./configure && make && make install for gmp,mpfr and mpc. > --prefix was set to /opt/custom, LD_LIBRARY_PATH was exported to > /opt/custom/lib. > But I've only checked the ldd output of the gcc binary. Perhaps 'gcc' > is not linked to those libraries, but cc1 is? Exactly. But is there a good reason you actually want to like to the dynamic libraries and require LD_LIBRARY_PATH to be set for your GCC to work? If GCC links to the static libraries life is simpler. http://gcc.gnu.org/wiki/InstallingGCC