How to use pre-compiled headers with gcc version 3.2.2

Claudio Bley bley@cs.uni-magdeburg.de
Thu Oct 9 11:29:00 GMT 2003


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 / \



More information about the Gcc-help mailing list