Re: Disabling debug symbol generation at compile time

Posted by Guowen Han on
URL: http://quantlib.414.s1.nabble.com/Disabling-debug-symbol-generation-at-compile-time-tp13026p13027.html


configure CXXFLAGS = '-O2 -Wall'
or what ever you like.

BTW, I learnt this from Luigi years ago.

Thanks,




"Ralf M." <[hidden email]>

09/04/2009 01:38 PM

To
[hidden email]
cc
Subject
[Quantlib-dev] Disabling debug symbol generation at compile time





Hi,
I know one can strip the debug symbols, but I would like to
disable debug symbol generation completely at compile time
to speed up the compilation and link process and to conserve disk space.
Where should this be best done?

Asked differently: is there a "build for release" switch
or setting in/for ./autogen.sh, ./configure, Makefile etc.,
or an environment variable for this?

Platform: svn snapshot on Linux, g++; ie. using the generated Makefile's
w/o using any graphical IDE like eclipse etc.)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev


_____________________________________________________________
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.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev