Using precompiled headers with gcc?

Totte Karlsson tkarlsson@qm.com
Fri Feb 13 00:43:00 GMT 2004


thanks,
is there maybe any way to "manually" implement precompilation of headers?
Anyone who knows about such a way?
/totte
ps: it seems as if I can't upgrade, I'm on QNX and the version shipped with
it is 2.95.3 :(


"Geoff Keating" <geoffk@geoffk.org> wrote in message
news:jmisibetk1.fsf@desire.geoffk.org...
> "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