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]
Other format: [Raw text]

Re: PATCH: cpp include directory search order warning


> Slightly off-topic:
> 
> The only thing I don't like is the listing under -v.  It's always seemed
> a bit out of place, and bugged me a bit.  Why does -v display the
> directory list anyway?  Do tools in the wild send -v and parse the
> output to get this info?

I did propose a patch to a couple of autoconf macros to do exactly that.
Given the number of search chains that get merged and the ignoring of
duplicate directories, I think this is still a useful feature to have.

The output of gcc -print-search-dirs varies depending on the setting
of environment variables such as LIBRARY_PATH but it doesn't take into
account -L options.  Don't know about -B.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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