Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Tue, Nov 23, 2010 at 04:14:01PM +1100, Mattias Johnsson wrote:

On a semi-related note, I'm doing a lot of stepping through the search
and replace code trying to track the problem down. Because LO seems to
be compiled using -O2 and -O3, there's a lot of optimization which
means the way the code gets stepped through is often bizarre, and the
values of useful variables have been optimized out by the compiler. Is
there a simple option for building the LO project using a lower
optimization level? I can't seem to find one...


You can either do

nopt=true make

or reconfigure with --enable-debug (debug build only enables assertions
by default since yesterday, so the amount of output is quite
manageable).

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.