This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cpp discrepancies
- To: craig at jcb-sc dot com
- Subject: Re: cpp discrepancies
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Wed, 28 Apr 1999 09:58:21 -0400
- cc: egcs at egcs dot cygnus dot com
On 28 Apr 1999 13:47:05 -0000, craig@jcb-sc.com wrote:
>>Fine. Shall I make -lang-FOO work just for the `cpp' driver (which
>>never calls the linker) or shall I change the docs to say use -xFOO?
>
>That, I don't know, as I haven't watched the discussion closely.
>
>But, my offhand guess is, if the `cpp' driver is intended to be used
>as a standalone program, a replacement for classic UNIX `cpp', and
>people expect it to support a `-lang-FOO' option, then, by golly,
>that's what it's gotta do.
Yes, this is the intention.
>In that case, there's gotta be an option-translation mechanism in
>the `gcc' driver that makes sure none of the `-lBAR' options make
>it through to `cpp', but `-xFOO' go through as `-lang-FOO', or whatever.
Already exists, assuming by `cpp' in this para you mean the internal
executable.
zw