This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -print-* command-line switches misbehave or are misdocumented
Eli Zaretskii wrote:
>> Date: Sun, 05 Jul 2009 00:33:44 +0100
>> From: Dave Korn <dave.korn.cygwin@googlemail.com>
>> CC: Eli Zaretskii <eliz@gnu.org>, gcc@gcc.gnu.org
>> Well, the simple rule is "It can tell you where any program that gcc might
>> invoke lives", isn't it? That would explain why it can locate cc1, ld and as,
>> but not gcc or ls, and why it used to be able to locate cpp when it used to
>> invoke cpp, but not since.
>
> Granted, I know very well why it doesn't work with cpp and gcc. But I
> was talking about _user_documentation_, and from the user's point of
> view (as opposed to GCC programmer/hacker POV), the distinction is not
> quite obvious. Either the docs should be fixed to make that clear, or
> (better) the code should be modified to support all related programs.
Yes. I was suggesting a new wording there. I just didn't do it in the form
of a patch because I'm up to my eyeballs in more serious bugs/patches ATM...
cheers,
DaveK