I am not exactly sure if this is related to cmake but here is the problem. At the time i had manual make file i was able to generate static executables with gcc34 and g++34. With cmake though this is not possible. The error is as follows /usr/bin/ld: cannot find -lgcc_s Anybody experienced this. -- Ajay Divekar