How to turn off the debug mode (-g) for the QuantLib

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to turn off the debug mode (-g) for the QuantLib

Guowen Han
Hi Group,

Is there a way to disable the debug mode (-g) while building QuantLib?


Thanks,

Guowen


-----------------------------------------
________________________________________________________
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email
in error, please notify us immediately and delete the email and any
attachments from your system. The recipient should check this email
and any attachments for the presence of viruses.  The company
accepts no liability for any damage caused by any virus transmitted
by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sourceforge.net/mailarchive/forum.php?forum=quantlib-users/attachments/20070108/d7586c08/attachment.html 

Reply | Threaded
Open this post in threaded view
|

Re: How to turn off the debug mode (-g) for the QuantLib

Luigi Ballabio
On Mon, 2007-01-08 at 09:28 -0500, Guowen Han wrote:
> Is there a way to disable the debug mode (-g) while building QuantLib?

./configure CXXFLAGS='-O2'

(or whatever flags you want---just don't include -g)

Luigi


----------------------------------------

Steinbach's Guideline for Systems Programming:
Never test for an error condition you don't know how to handle.