[CMake] MINGW and strip .dll.a files

Gregoire Aujay gaujay at movea.com
Wed Apr 24 09:58:38 EDT 2013


Hello,

I am trying to package a stripped library built with MINGW.

When I activate strip during install or pack, I get link error (unresolved symbols) when using this library.
When I strip using "-s" option, everything is fine.

The difference is that my .dll.a is smaller when I use CMake strip feature. Gcc does not seem to strip the .dll.a file.

Is it a good approach to strip the .dll.a file ?

Regards,
Gregoire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130424/996907c8/attachment.htm>


More information about the CMake mailing list