Am Samstag 13 Juni 2009 00:16:43 schrieb Eric Lemings:
> I've tried clearing the CMAKE_STANDARD_LIBRARIES,
> CMAKE_C_STANDARD_LIBRARIES, and CMAKE_CXX_STANDARD_LIBRARIES variables
> and standard libraries still get linked into my executable.  How do I
> disable this?

Read the compiler/linker documentation?

For gcc:
 -Wl,nostdlib -Wl,nodefaultlibs

HS

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to