This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: excessive stab information
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Andy Chittenden'" <AChittenden at bluearc dot com>,"'Daniel Jacobowitz'" <drow at false dot org>,"'Ian Lance Taylor'" <ian at airs dot com>
- Cc: <binutils at sourceware dot org>,"'Martin Dorey'" <mdorey at bluearc dot com>
- Date: Thu, 28 Apr 2005 16:41:05 +0100
- Subject: RE: excessive stab information
----Original Message----
>From: Andy Chittenden
>Sent: 28 April 2005 16:34
>>> ... Most people do not refer to the same header file using two
>>> different names.
>
> This comes about as we "publish" headers that define public interfaces
> to subsystems into a "public" directory that other subsystems can
> #include from. We do this via symlinks. The "duplicate" stabs come about
> by virtue of the publishing directory finding the original header
> and the using directory using the published one.
>
> This is not the first environment in which I've seen this technique
> used.
Why don't you sort out the search path in the makefile so that the
publishing library also finds the public interface header first? That would
be good practice and achieve the desired consistency.
cheers,
DaveK
--
Can't think of a witty .sigline today....