On 17 Apr 2006, at 21:31, Melchior FRANZ wrote:

The really bad news:

  Some of the necessary changes would have to be done in an

  associated project, and even if that were accepted, it couldn't

  be maintained there, and the capability soon be lost.


What kind of changes?


I can't say if this compiler/linker feature is worth it at all, but

the committed changes will at least hardly make compilation slower,

or rather: a bit slower for some files, and a bit faster for others.

Looks like this will be something to look at again when its time

has come ...


We've had pre-compiled headers for a bit longer on OS-X (Apple forward ported the code to gcc 3.3), and for some things they make a huge difference - notably system headers which never change (eg, the Apple Carbon and Cocoa frameworks). The biggest win for FG would probably come from pre-compiling the headers for PLIB and parts of SimGear, I guess.

I'm surprised the code changes are so dramatic than you can't check them in and let people experiment - MSVC has good pre-compiled header support, though it's a little different in style to GCC's. Generally you need to define a 'precompile header' which pulls in all the headers you want precompiled, and then pull that in from each source file. Fredric probably knows better than I, though.

James

--

That which does not kill me has poor aim


Reply via email to