Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling with -O0 with <release>debug and <toolset>clang-darwin
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-10-13 18:27:26


Le 13/10/13 19:40, chris.schaf_at_[hidden] a écrit :
> How can I get boost-build to compile with -O0 using
> <toolset>clang-darwin and <release>debug.
> Currently as shown below there is still a "-O1" option in the compile
> command and I'm afraid that it is the reason why I can't print local
> variables when I debug the executable with "lldb".
>
>
Have you tried with bjam optimization=off

Other values are space/full but I don't have a pointer in the doc.

HTH,
Vicente


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk