This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PCH now working, should be default?
- From: Raja R Harinath <harinath at cs dot umn dot edu>
- To: Geoffrey Keating <geoffk at apple dot com>
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, law at redhat dot com,libstdc++ at gcc dot gnu dot org
- Date: Tue, 04 Mar 2003 15:41:38 -0600
- Subject: Re: PCH now working, should be default?
- References: <A30F8ACE-4E71-11D7-BED9-0030657EA24A@apple.com>
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