This is the mail archive of the gcc-patches@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]

Re: Patch: Fix for bootstrap/3075


On Jun 11, 2001, Nathan Sidwell <nathan@codesourcery.com> wrote:

> No, that's not the right patch. AC_LINK_FILE prepends `$srcdir/' to the
> filenames, so we need the relative path from there to gcc. This patch
> does that and it works for

> sibling-dir bootstrap on i686-pc-linux-gnu
> in-dir bootstrap on sparc-sun-solaris2.7

> so is this one ok for mainline & branch?

Did you test it with a full pathname for srcdir too?  I don't see why
it would stop working, but this must be tested before the patch can be
considered good.  Also, make sure no references to $auxdir remain in
the generated configure script.  If it passes these two tests, it's
got my Ok for mainline, and then it's up to Mark to approve it for the
branch.

> 2001-06-11  Nathan Sidwell  <nathan@codesourcery.com>

> 	* configure.in (auxdir): Replace by ...
> 	(toprel): ... new variable.
> 	(toplevel_srcdir): Construct from $toprel.
> 	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
> 	rather than .. to locate gcc source directory.
> 	(GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
> 	* aclocal.m4, configure: Rebuilt.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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