http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58936
Bug ID: 58936 Summary: wrong Makefile generated when gmp/mpfr/mpc installed in custom folder Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: eoodin at outlook dot com I configured gcc using: ./configure --prefix=$HOME --with-gmp=$HOME --with-mpfr=$HOME --with-mpc=$HOME When I am compiling gcc 4.8.2, I got error: cannot find -lgmp after I correct line in <SRC>/x68_64-unkown-linux-gnu/gcc/Makefile from '-lmpc -lmpfr -lmpc ' to '$HOME/lib/libmpc.a $HOME/lib/libmpfr.a $HOME/lib/libmpc.a' I could compile without any error.