This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: integrated -save-temps and the death of specs
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Anthony Green <green at redhat dot com>, Zack Weinberg <zack at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, echristo at redhat dot com, tromey at redhat dot com
- Date: Wed, 20 Mar 2002 11:54:07 +1100
- Subject: Re: integrated -save-temps and the death of specs
>> - implement target macros to be called with a string of
>> options, which will return additional options to pass to the
>> assembler, linker, etc etc. i'll provide memoizeable
>> functions to read options, so we don't reparse the command
>> options again and again.
>
> You can't do this so quickly, otherwise the devoted users of tradcpp
> will be after you.
yes, we'd definitely need to integrate tradcpp into cpplib.
> You see, I don't think this is necessary. You can hand it all over
> to cpp_standard_preprocessing() or whatever you call it. Then the
> act of doing preprocessed output is still nicely logically separated,
> and all still in cppmain.c.
hmm, your idea sounds more elegant. i'll give it a whirl.
--
Aldy Hernandez E-mail: aldyh@redhat.com
Professional Gypsy Lost in Australia
Red Hat, Inc.