http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58936
--- Comment #3 from Mikael Pettersson <mikpelinux at gmail dot com> --- (In reply to Liu Jian from comment #0) > 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: Configuring in the gcc source directory itself is not supported. Try something like tar jxf gcc-4.8.2.tar.bz mkdir objdir cd objdir ../gcc-4.8.2/configure ... instead.