[futurebasic] FBtoC: 'Use precompiled header' on OS X 10.3.9

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Tue, 1 Jan 2008 18:32:13 +1300
I wrote:

> http://4toc.com/fb4/FBtoC_Preview1a126.zip  [1.6 MB download]

> What's new in FBtoC itself:
> - repeated builds of small projects are faster with 'Use precompiled  
> header'

'Use precompiled header' is the name of a checkbox in FBtoC's Settings  
dialog.

Management of gcc's precompiled header optimization is something of a  
black art. For the last several preview releases, FBtoC has been  
making an invalid pch, which gcc later silently ignored.
The performance bug was fixed in 1a126. 'Use precompiled header' gives  
a noticeable speed-up of repeated builds of the same FB project, or  
standalone source file, when tested with gcc 4.0.1 in OS X 10.4 and  
10.5.

If someone running OS X 10.3.9 (and hence gcc version 3.3) could  
report on the truth of the claim above, the FBtoC team would be  
grateful.

Robert P.