I built gcc-4.5.0 by putting the gmp, mpc, mpfr trees in the gcc-4.5.0 directory.
Then I proceeded with a make bootstrap. When it was done I did an ldd on all the files to make sure everything was found. In doing this I also checked for the gmp, mpc and mpfr library usage. I see this which I believe is wrong since it is not the one I put in the tree ./lib/gcj-4.5.0-11/libjavamath.so: libgmp.so.3 => /usr/lib/libgmp.so.3 (0x00721000) /tools/wdtgnu/gcc-4.5.0/bin/gcc -v Using built-in specs. COLLECT_GCC=/tools/wdtgnu/gcc-4.5.0/bin/gcc COLLECT_LTO_WRAPPER=/tools/wdtgnu/gcc-4.5.0/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: /proj/wdtold/warrend/gnusrc_new/wdtV3/000030-gcc-4.5.0/gcc-4.5.0/configure --prefix=/tools/wdtgnu/gcc-4.5.0 --with-local-prefix=/tools/wdtgnu/gcc-4.5.0 --enable-shared --with-gnu-as --with-as=/tools/wdtgnu/gcc-4.5.0/bin/i686-pc-linux-gnu-as --with-gnu-ld --with-ld=/tools/wdtgnu/gcc-4.5.0/bin/i686-pc-linux-gnu-ld --with-gnu-nm --with-nm=/tools/wdtgnu/gcc-4.5.0/bin/i686-pc-linux-gnu-nm --enable-threads=posix --enable-languages=all,ada,obj-c++ --disable-nls Thread model: posix gcc version 4.5.0 (GCC) -- Summary: libjavamath.so not using correct libgmp.so.3 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: warren dot l dot dodge at tektronix dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44296