This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PCH now working, should be default?


Hi,

Geoffrey Keating <geoffk at apple dot com> writes:

> On Tuesday, March 4, 2003, at 10:26  AM, Benjamin Kosnik wrote:
>
>>  If there was a way to
>> pass a globbed, all-encompasing .pch on the command line as a kind of
>> "pre-include" things might improve. Geoff if this is possible, please
>> let me know and I'll work up the necessary runtime bits to try that
>> approach.
>>
>> I'm thinking of something like
>>
>> -fuse-precompiled-first=foo.gch
>>
>> I don't see such an option here:
>> http://gcc.gnu.org/onlinedocs/gcc/Precompiled-
>> Headers.html#Precompiled%20Headers
>
> Use '-include foo'.

'-include' doesn't work in current g++.  See c++/9302 and c++/9394.

- Hari
-- 
Raja R Harinath ------------------------------ harinath at cs dot umn dot edu


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