On 11/07/2011 05:25 PM, Jonathan Wakely wrote: > N.B. having to set LD_LIBRARY_PATH is ***not*** a good solution, and I > hope any writeup which suggests doing that will be rejected. The > simplest solution is to install GCC from pre-built packages from > someone who knows what they're doing, the next best is to link to gmp, > mpfr and mpc statically so LD_LIBRARY_PATH is not needed. Indeed. Run ./contrib/download_prerequisites in the top-level dir and then build gcc. Andrew.