Sugestions to improve compiling/linking time

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
Freddy
Experienced Solver
Experienced Solver
Posts: 61
Joined: Sun Apr 09, 2006 8:23 pm

Sugestions to improve compiling/linking time

Post by Freddy »

Hi!
You could take a look at Ultimate++ project http://upp.sourceforge.net/ and take a look at the Blitz technology used to speed up compiling.
Also they have built their own versions of mingw linker.
These did really great results compared ro using the normal mingw.

I think wxDev-c++ could use something similar.
Also the Lazarus Project http://www.lazarus.freepascal.org/ Team together with FPC team are building their own internal linker.
It seems this is the way to go for RAD using mingw based tools.
gururamnath
Super wx Problem Solver
Super wx Problem Solver
Posts: 466
Joined: Sat Sep 18, 2004 2:49 am
Location: California, USA

Re: Sugestions to improve compiling/linking time

Post by gururamnath »

The 6.11 version (one next to the next version) will include out of the box dmars compiler support, so the compiling and linking time will be greatly improved.

-Guru
lowjoel
Part Of The Furniture
Part Of The Furniture
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel »

If you MUST use MingW then compile wxWidgets as a DLL, it will increase your link time by leaps and bounds.

Joel
tiwag
Earned some good credits
Earned some good credits
Posts: 123
Joined: Tue Dec 21, 2004 8:51 pm
Location: Austria

Post by tiwag »

lowjoel wrote:compile wxWidgets as a DLL, it will increase your link time
decrease !
-tiwag
lowjoel
Part Of The Furniture
Part Of The Furniture
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel »

woops, my bad, yeah, DLLs decrease link time... mustve been too tired... lol
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

Hi!
If mingw would support precompiled headers this would result in faster builds. Does anybody know if or when they'll support that?
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
tiwag
Earned some good credits
Earned some good credits
Posts: 123
Joined: Tue Dec 21, 2004 8:51 pm
Location: Austria

Post by tiwag »

upCASE wrote:Hi!
If mingw would support precompiled headers this would result in faster builds. Does anybody know if or when they'll support that?
pch works fine already with MinGW gcc >= 3.4.2

the main problem is the poor linking performance of MinGW ld when using static libraries.
-tiwag
lowjoel
Part Of The Furniture
Part Of The Furniture
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel »

IMHO even with VC++, link.exe also chokes on large static libraries. Therefore I conclude that when you are using large libraries use DLLs :D
Freddy
Experienced Solver
Experienced Solver
Posts: 61
Joined: Sun Apr 09, 2006 8:23 pm

Post by Freddy »

How is DMC compiler support going?
gururamnath
Super wx Problem Solver
Super wx Problem Solver
Posts: 466
Joined: Sat Sep 18, 2004 2:49 am
Location: California, USA

Post by gururamnath »

Freddy wrote:How is DMC compiler support going?
We are still working to push the 6.10 release out of the door (Hopefully by next week). After that we'll start working on the dmars support.

-Guru Kathiresan
Post Reply