This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: [RFA] gas `dep' target overhaul


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


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