[CMake] more linking problems

Alexander Neundorf a.neundorf-work at gmx.net
Tue Apr 26 09:10:24 EDT 2005


Hi, 
 
> Alexander Neundorf wrote: 
... 
> > c++ ... <a lot of stuff> -Wl,--whole-archive <list of "convinience"  
> > libraries> -Wl,--no-whole-archive <more stuff>  
>  
> This looks like a very GNU-specific link flag, and is therefore not an  
> option for CMake. 
 
Do you know how libtool handles this on other platforms ? 
 
> Last week we came up with a possible way to achieve this and I added a  
> feature request: 
>  
> http://www.cmake.org/Bug/bug.php?op=show&bugid=1790 
>  
> Basically we would be able to get the list of object files associated  
> with a given library and then link them into another library using the  
> current external object feature. 
 
Sounds good :-) 
 
Bye 
Alex 
 

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++

10 GB Mailbox, 100 FreeSMS  http://www.gmx.net/de/go/topmail


More information about the CMake mailing list