Linking of teamwork/boost

Andreas Pakulat apaku at gmx.de
Wed Apr 9 22:24:16 UTC 2008


On 10.04.08 00:05:16, David Nolden wrote:
> 2008/4/8, Andreas Pakulat <apaku at gmx.de>:
> > Hi,
> >
> >  this is mostly for David: Do you recall wether doing a static link of
> >  the boost libs in debug mode improves the size of the plugin/shared
> >  libs? I've just found out how to force cmake to use the static versions,
> >  so this might be a way to reduce linking/loading time a lot...
> 
> I think the sizes are the same, except that now with dynamic linking,
> the whole size is split into 5 sharable libraries.
> 
> There is another problem however, I think that's a result of the
> shared-lib thing:
> Teamwork doesn't work any more. KDevelop crashes whenever a message is
> received in some dynamic_cast. Maybe we can have a look into that at
> the hackathon. :)

Hmm, maybe I can squeeze in some 5 minutes somewhen. God my agenda is so
full already...

> What do you mean by "force cmake to use the static version". You mean
> that he problem that forced us to make the libraries dynamic(something
> with amd64) is solved?

Aah, totally forgot about that part :) Well then forget everything I
said, I was purely talking about FindBoost.cmake now being able to
search only for the static libs (cmake usually prefers shared libs if
both exist).

Andreas

-- 
You work very hard.  Don't try to think as well.




More information about the KDevelop-devel mailing list