[Bug other/48378] gcc 4.6.0 fails to build from source
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 2 22:52:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48378
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-02 22:52:32 UTC ---
(In reply to comment #9)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > I continue to get the originally reported error:
> >
> > It looks as though you continue to build in the source dir, but I can't know
> > for sure as you didn't say how you're running configure.
>
> ../gcc-4.6.0/configure
which is the directory you're building in too, right?
i.e. the same as ./configure
So you're still building in the source directory.
You need TWO directories, one for the sources, and one you build in.
And why are you using with_xxx_lib instead of using --with-gmp ?
Try the makefile at http://advogato.org/person/redi/diary/229.html which will
do it all for you correctly:
make -f config-gcc.mk GCC_VERSION=4.6.0 GMP_VERSION=5.0.1
More information about the Gcc-bugs
mailing list