[CMake] --whole-archive

Juan Sanchez Juan.Sanchez at amd.com
Thu Sep 13 13:10:59 EDT 2007


Hi,

On linux, I need to generate an shared library from an archive.  I need
to have:

-Wl,-whole-archive

before and

-Wl,-no-whole-archive

after the archive on the shared library link line.  Is there a way to do
this.  The static archive is compiled fPIC so symbol relocation is not
an issue.

Thanks,

Juan
-- 
Juan Sanchez
Juan.Sanchez at amd.com
800-538-8450 Ext. 54395
512-602-4395




More information about the CMake mailing list