There's more...

When debugging applications, it is sometimes useful to reduce the level of optimization used by the compiler. This will reduce the application's performance but will facilitate debugging by improving the accuracy of the debug information. You can configure the build system to reduce optimization and add extra debug information by adding the following line of code to your conf/local.conf file:

DEBUG_BUILD = "1" 

By using this configuration, the optimization is reduced from FULL_OPTIMIZATION (-O2) to DEBUG_OPTIMIZATION (-O -fno-omit-frame-pointer). But sometimes this is not enough, and you may like to build with no optimization. You can achieve this by overriding the DEBUG_OPTIMIZATION variable either globally or for a specific recipe.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset