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 » Wed Oct 18, 2006 2:57 am

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
Moderator
Moderator
Posts: 466
Joined: Sat Sep 18, 2004 2:49 am
Location: California, USA

Re: Sugestions to improve compiling/linking time

Post by gururamnath » Wed Oct 18, 2006 7:33 pm

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
Moderator
Moderator
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel » Wed Oct 18, 2006 10:56 pm

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 » Thu Oct 19, 2006 12:11 am

lowjoel wrote:compile wxWidgets as a DLL, it will increase your link time
decrease !
-tiwag

lowjoel
Moderator
Moderator
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel » Thu Oct 19, 2006 1:37 am

woops, my bad, yeah, DLLs decrease link time... mustve been too tired... lol

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Thu Oct 19, 2006 6:52 am

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 » Thu Oct 19, 2006 7:13 am

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
Moderator
Moderator
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel » Thu Oct 19, 2006 9:41 pm

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 » Sun Oct 22, 2006 8:01 pm

How is DMC compiler support going?

gururamnath
Moderator
Moderator
Posts: 466
Joined: Sat Sep 18, 2004 2:49 am
Location: California, USA

Post by gururamnath » Fri Oct 27, 2006 6:30 am

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