[RFA] gas `dep' target overhaul

Ben Elliston bje@redhat.com
Tue Apr 30 06:47:00 GMT 2002


G'day Alan,

>>>>> "Alan" == Alan Modra <amodra@bigpond.net.au> writes:

  Alan> No, handling ../ in paths was put there for a reason:  On most versions
  Alan> of gcc, "gcc -MM -I$(srcdir)/../bfd" for example generates paths to
  Alan> bfd/ with /../ in the path.  At least some gcc-3.2 versions remove
  Alan> "gas/../".

Oh.  It seems Graydon was trying to solve the same problem remedied by
a patch of yours from earlier this month:

     2002-04-04  Alan Modra  <amodra@bigpond.net.au>

     * dep-in.sed: Cope with absolute paths.
     * Makefile.am (dep.sed): Subst TOPDIR.
     Run "make dep-am".
     * Makefile.in: Regenerate.

Thanks for the catch.

Ben



More information about the Binutils mailing list