2007/6/8, Ajay Divekar <[EMAIL PROTECTED]>:
I tried your suggestion by setting
SET_TARGET_PROPERTIES (bbb PROPERTIES LINK_FLAGS "-static -lc -lm
-L/usr/local/lib/")
The result is the same i.e. the executable generated is not completely static.
Still has shared library dependencies. The output generated after doing ldd
bbb is
libz.so.2 => /lib/libz.so.2 (0x28233000)
libm.so.3 => /lib/libm.so.3 (0x28243000)
libc.so.5 => /lib/libc.so.5 (0x2825e000)
Do you currently have the static version of those libs INSTALLED
on your system?
--
Erk
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake