Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Compilation times
(1/1)
rickg22:
In my machine (Athlon XP 1.8 ) the compilation time (full rebuild) takes about 8 minutes. This is specially annoying when modifying a class definition in the SDK :(
How long are your rebuild times for C::B? Any hints on reducing the compilation times? Perhaps a technique we haven't used?
rickg22:
I just noticed something. editormanager.h depends on editorbase.h, altho the only thing where class editorbase is used is:
--- Code: ---
WX_DECLARE_LIST(EditorBase, EditorsList);
--- End code ---
Can it be done without including the editorbase.h (just by declaring "class EditorBase;" ) ?
Update: Yes, it can! In fact I updated editormanager.h to drop a few dependencies. Hopefully this will cut some compile times :-)
tiwag:
i've played a little using precompiled headers with gcc,
it works, but the effort is high, especially if you have so much modules in use like C:B has
and the gain is low, because the most time is consumed by the terrible slow linker.
the only solution i really can think of is to use a faster compiler like
DigitalMarsCompiler (DMC, fastest of all) or M$VC
the drawback is, both DMC and M$VC, are lacking a good usable debugger in the free-versions.
on the other hand, a DMC-CD with IDDE only costs 45$
i've ordered one after playing a while with the free version,
and i will switch over to DMC for my future projects.
Navigation
[0] Message Index
Go to full version