This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/48378] gcc 4.6.0 fails to build from source


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48378

--- Comment #11 from nbi at wideopenwest dot com 2011-04-02 23:18:08 UTC ---
(In reply to comment #10)
> (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.

NO!!
gcc-4.6-4.6.0.orig/gcc-4.6.0 contains the source
gcc-4.6-4.6.0.orig/build     is the build 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 ?

What's the difference?


> 
> 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

I am making progress. I downloaded the 3/25 snapshot from one of the mirrors
and I'm not getting the "texi" error any more. It appears there is something
amiss with the Debian packaging. However, now I get the "cannot compute suffix
of object files" error. Hopefully that will go away by use of your advogato
recommendation. Sigh. Why is this so convoluted?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]