[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
precompiled headers and -E
From: |
Greg |
Subject: |
precompiled headers and -E |
Date: |
8 Sep 2005 10:18:03 -0700 |
User-agent: |
G2/0.2 |
It appears that the -E option of g++ prevents use of precompiled
headers (pch). The result is a preprocessed file, but correct .h.gch
files are not pulled in. This is a problem when g++ and pch are used
by distcc. Before distcc sends a job to a remote machine, it
preprocesses it on the local machine by running g++ -E... This has the
effect of not using .h.gch files which in turn makes the remote
compilations take much more time.
Is there a way to tell g++ to use precompiled headers even if the -E
options is specified?
Greg
- precompiled headers and -E,
Greg <=