Eneko Nieto wrote:
Hi,

I wanted to compile Gammu for getting a static executable but I didn't achieve. I asked in the Gammu mailing list but the actual maintainer answered he didn't know how to configure CMake for compiling statically. More info in the original mail.

Could anyone help me?


If you do a make VERBOSE=1 what do you get? If you have -static as a flag to the compiler it should link all static. The issue is if you have one non-static lib, like libc then it is harder to do with cmake right now. However, if you actually have all static libs, then you should be able to do it with cmake.

-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to