Using precompiled headers with gcc?

Geoff Keating geoffk@geoffk.org
Fri Feb 13 00:01:00 GMT 2004


"Totte Karlsson" <tkarlsson@qm.com> writes:

> (I'm not sure if this is the right newsgroup?)
> Hi, I've been using precompiled headers on borland and microsoft compilers
> for many years. I have tried to find documentation on how to use pch's with
> gcc (version 2.95) but can't find any decent documentation on this VERY
> IMPORTANT issue. I don't think one can seriously working on a large C++
> project without using pch's, the development cycle just gets to slow..
> 
> Does anyone know where I can find a document telling me how to get this
> working using gcc 2.95 (I can't use any newer version).
> thanks

Precompiled headers was not implemented in FSF GCC until version 3.4,
which has not yet been released.  If you must have them, you will need
to upgrade.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc mailing list