This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: cpp include directory search order warning
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: neil at daikokuya dot co dot uk (Neil Booth)
- Cc: zack at codesourcery dot com, nathan at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 7 Aug 2002 17:48:41 -0400 (EDT)
- Subject: 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)