gcc-4.1-rc1 seems nice so far - it's the first version of gcc
that can beat gcc-2.95.3 on one particular app -
but it seems to be slow at preprocessing C++ source.
This matters quite a bit when running distcc.
In fact, it seems to take three times as long to
build large C++ apps as gcc-2.95.3 did.
On Feb 23, 2006, at 9:05 PM, Dan Kegel wrote:
it seems to be slow at preprocessing C++ source.
This matters quite a bit when running distcc.
One way to mitigate this would be to use a precompiled header, and
use -fpch-preprocess with distcc and ship the .gch across instead.
This saves the
On 2/24/06, Mike Stump <[EMAIL PROTECTED]> wrote:
> On Feb 23, 2006, at 9:05 PM, Dan Kegel wrote:
> > it seems to be slow at preprocessing C++ source.
> > This matters quite a bit when running distcc.
>
> One way to mitigate this would be to use a precompiled header, and
> use -fpch-preprocess with
On Feb 24, 2006, at 1:25 PM, Dan Kegel wrote:
That's painful to set up, though (it requires changing the
application's
source to be effective, doesn't it?)
No. On darwin, it is a checkbox to turn distributed builds on, no
other change necessary.
distcc already adds -E as I recall, you ju
On 2/24/06, Mike Stump <[EMAIL PROTECTED]> wrote:
> On Feb 24, 2006, at 1:25 PM, Dan Kegel wrote:
> > That's painful to set up, though (it requires changing the
> > application's source to be effective, doesn't it?)
>
> No.
After reading
http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Precompiled-Head
> After reading
> http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Precompiled-Headers.html
> I get the impression that, to start using precompiled headers, the procedure
> is:
>1) create a single all.h that includes all the needed .h's
>2) precompile all.h
Correct.
> 3) edit all your app's sources
On Feb 24, 2006, at 1:57 PM, Dan Kegel wrote:
On 2/24/06, Mike Stump <[EMAIL PROTECTED]> wrote:
On Feb 24, 2006, at 1:25 PM, Dan Kegel wrote:
That's painful to set up, though (it requires changing the
application's source to be effective, doesn't it?)
No.
:-) On darwin, we just have a UI e