This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] gas `dep' target overhaul
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Ben Elliston <bje at redhat dot com>
- Cc: binutils at sources dot redhat dot com, graydon at redhat dot com
- Date: Tue, 30 Apr 2002 11:53:22 +0930
- Subject: Re: [RFA] gas `dep' target overhaul
- References: <15565.44727.188970.344476@tooth.toronto.redhat.com>
On Mon, Apr 29, 2002 at 04:36:07PM -0400, Ben Elliston wrote:
> I am contributing the following patch on behalf of Graydon Hoare, who
> developed the patch some time ago. The patch adds adds handling for
> dependencies located in the opcodes source directory. Along the way,
> it actually makes `make dep' work -- the use of $basedir to eliminate
> /../ elements in the path seems to improve the situation. (<Shrug>;
> we really should be using Automake's facilities for this in the near
> future).
>
> Okay to commit?
No, handling ../ in paths was put there for a reason: On most versions
of gcc, "gcc -MM -I$(srcdir)/../bfd" for example generates paths to
bfd/ with /../ in the path. At least some gcc-3.2 versions remove
"gas/../".
--
Alan Modra
IBM OzLabs - Linux Technology Centre