In order to build vncviewer with debug information, I was adding -DCMAKE_BUILD_TYPE=DEBUG as a cmake argument. However, this is not enough to produce debug information that Dr Mingw can understand. I had to replace -g with -gstabs2 in ./vncviewer/CMakeFiles/vncviewer.dir/link.txt and ./vncviewer/CMakeFiles/vncviewer.dir/flags.make. How can this be avoided; can we have -gstabs2 as default on Windows?


---
Peter Åstrand           ThinLinc Chief Developer
Cendio AB               http://cendio.com
Teknikringen 8          http://twitter.com/ThinLinc
583 30 Linköping        http://facebook.com/ThinLinc
Phone: +46-13-214600    http://plus.google.com/112509906846170010689
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to