[Bug other/58936] wrong Makefile generated when gmp/mpfr/mpc installed in custom folder

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 31 09:58:00 GMT 2013


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.



More information about the Gcc-bugs mailing list