Am Dienstag, 27. Dezember 2011, 00:35:41 schrieb Aaron Ten Clay:
> On 12/26/2011 6:18 AM, Ceylow wrote:
> > Hello,
> > 
> > I'm having some troubles with a linking step and I would like to see
> > exactly which parameters are given to my compiler when running the
> > Makefile generated by CMake.
> > 
> > Currently it only shows:
> > Linking CXX shared library xxx
> > 
> > which isn't enough for me to find out why I have undefined symbols. I
> > couldn't find any information about this on the web (maybe searching with
> > the wrong words but...).

> Try using 'make VERBOSE=1' instead of 'make', this will cause the
> command lines to be displayed just before execution.

Yes, but that doesn't help him as the linker commandline is hidden in some 
link.txt somewhere in CMakeFiles directory. So based on what you find out from 
the make you need to find the correct link.txt and look into it to find out the 
actual linker commandline.

Eike
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

--

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