This is the mail archive of the gcc@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]

Re: cpp discrepancies


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


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