CodeLite architecture (static vs dyn libs)

Discussion about CodeLite development process and patches
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

CodeLite architecture (static vs dyn libs)

Post by jfouche »

Hi Eran

I'm currious ;)
I would like to know if there is a technical reason why you use static libs for codelite, wxsqlite, wxscintilla, ... instead of dynamic libs.
I think (but without a full comprehension of this product, I may be wrong), that using dynamic libs for those components should speed the compilation time (which is awfull long for my old computer : about 1H30 for a clean build), and make the plugins size smaller (as binary code will not be duplicated).
Thanks for your time to answer me
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite architecture (static vs dyn libs)

Post by eranif »

No reason, except the historical one - I might change it to shared libraries but I dont see it as a top priority task.
FYI: Under Linux/Mac all the mentioned libraries are built as shared objects

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite architecture (static vs dyn libs)

Post by eranif »

Hi again,

I changed codelite architecture to use DLL under Windows as well (there were quite few bugs on the way especially with regards to singletons)
I will commit the changes soon and will update this post when its done

EDIT: code committed
Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: CodeLite architecture (static vs dyn libs)

Post by jfouche »

Thanks a lot.
I'll try an update this evening, and see if it's better for me.
Jérémie
Post Reply