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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-02 
23:26:24 UTC ---
(In reply to comment #11)
> (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

But the error you're getting shows you are in the gcc-4.6.0 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?

One is the documented, supported way to build gcc, one isn't.

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

http://gcc.gnu.org/wiki/FAQ#configure_suffix

Yes, if you use my config-gcc.mk makefile that won't be a problem.

Reply via email to