This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to use pre-compiled headers with gcc version 3.2.2
- From: Claudio Bley <bley at cs dot uni-magdeburg dot de>
- To: "lapo_pasqui at libero dot it" <lapo_pasqui at libero dot it>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 9 Oct 2003 13:24:37 +0200
- Subject: Re: How to use pre-compiled headers with gcc version 3.2.2
- References: <HMG44K$40E19253F2FDFEE780B52F381EC2DC93@libero.it>
On Wed, Oct 08, 2003 at 05:53:08PM +0200, lapo_pasqui@libero.it wrote:
> Hi guys,
> I?ve a problem in using pre-compiled headers with gcc version 3.2.2.
> As the project I?m working on is getting bigger and bigger, the time needed to
> build it is incredibly long.
> This is mainly because of the header files containing a few class/ templates
> definition.
> Therefore I taught to use a few precompiled headers with no luck at all.
>
> According to the online documentation
> [http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html] I should give the
> gcc a header file to get a precompiled header with .gch extension.
>From the initial section of the aforementioned manual:
"It [this manual] corresponds to GCC version 3.4."
Precompiled headers are introduced with GCC 3.4; no support in any earlier
releases.
Regards.
--
Claudio Bley ASCII ribbon campaign (")
Debian GNU/Linux user - against HTML email X
http://www.cs.uni-magdeburg.de/~bley/ & vCards / \