[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Supporting GNU ld's --as-needed flag
From:       Szombathelyi "György" <gyurco () freemail ! hu>
Date:       2004-10-17 17:13:49
Message-ID: 200410171913.49745.gyurco () freemail ! hu
[Download RAW message or body]


Hello!

I wrote about 5 months ago that what can be done to _not_ link all indirect 
library dependencies into all KDE programs/libraries:
http://lists.kde.org/?l=kde-core-devel&m=108534182408921&w=2

I learned that GNU ld's --as-needed flag could done this. I always compile KDE 
libraries and programs with this option, with very good results. So I think 
it would be nice to add this flag for the KDE build process. The only problem 
which prevents the use of CFLAGS="-Wl,--as-needed" is that libtool puts this 
option to the end of the parameter list, which simply makes the option 
non-working. I attached a patch to the KDE version of libtool, and also a 
configure check for the availabilty of the flag.
Can it be added to CVS? Last time I posted a similar patch it was not applied, 
but now there's enough time for testing.

Bye,
György

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

["kde-libtool.diff.gz" (application/x-gzip)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic