Reducing library dependancies

Helio Chissini de Castro helio at kde.org
Sun Aug 3 18:49:14 BST 2008


On Friday 01 August 2008 16:50:22 Thiago Macieira wrote:
> John Tapsell wrote:
> >2008/8/1 Thiago Macieira <thiago at kde.org>:
> >> You could just use the linker flag --as-needed.
> >
> >So.... should this be put in for the whole KDE build?  It sounds like
> >a simple fix to speed up loading time of all kde apps.. what's the
> >catch? :)
>
> No, because it has side-effects.
>
> I don't remember the exact details of why it happened in KDE 3, but it
> did. That's why the flag was not enabled by default (a simple switch to
> configure would enable it).
>
> Maybe we're cleaner now in KDE 4 and it would work. Try it in your build
> and let us know.

Mandriva compiles everything with --as-needed, since 4.0.94
at that moment, only bindings had issues, so is more than safe use it

-- 
Helio Chissini de Castro
KDE Project
Brasil and South America Primary Contact
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080803/6cf76bec/attachment.htm>


More information about the kde-core-devel mailing list