libtool convinience libs with unsermake/scons/cmake/... ?

Alexander Neundorf neundorf at kde.org
Thu Jan 12 18:24:56 CET 2006


Hi,

libtool is able to create convinience libraries, i.e. static libraries which 
are included completely in a shared library when linking together. 
This is implemented in libtool with different flags for the linker depending 
on the platform. Do we want to do this the same way for KDE 4 ? Is this 
supported by MSVC ?

I see the following options:
1) implement libtool behaviour
2) link all object files to one object file together and include this in one 
the shared library: ld -o -r conv.o *.o (is this portable ?)
3) compile all source files of the former conv. lib again everytime the conv. 
lib is (was) used
4) create a (-enable-)final file from the source files of the former conv. lib 
and compile this everytime the conv. lib is (was) used.

How is this handled by unsermake and scons ?
How should it ideally be handled ?

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list