Geoffrey Furnish writes:
 > I do have another question:  How do I accomplish what we might call a "debug
 > build" ?
 > 
 > I want all compilation units compiled with -g, and linked appropriately to
 > allow running under the debugger.  Is there a simple way to pull that off?

Well, sorry.  I just found the needed trick in the wiki.  So I redid the
cmake (from a completely empty dir :-) with CMAKE_BUILD_TYPE=Debug.  This did
result in a line in the cmake output reflecting that it is a debug build.
However, I can't see how the files were actually compiled.

Well, I go to the installed examples dir, and run xtk01 under gdb, and it
tells me there is no debugging info available.

And it doesn't behave under the debugger like it does from the command line.
Argh.

Anyway, I'm not convinced the buid is really debugging enabled, since gdb
tells me theres no debugging info available.

Suggestions?

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to