[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shlib symbolic link to optional lib in lib<foo>-dev ?



On Mon, Mar 09, 2015 at 10:45:36AM +0100, Václav Ovsík wrote:
> On Mon, Mar 09, 2015 at 11:03:33AM +0800, Paul Wise wrote:
> > Could you mention how the debug variant differs from the normal variant?
> 
> The debug variant is compiled with -O1 (the normal/optimized variant
> with -O2) and the debug variant has many checks (assertions).

With recent gcc, it's better to use -Og for that.  That level of
optimization is made to use only optimizations that don't interfere with
debugging, yet still produce code that's way faster than -O0.

-- 
// If you believe in so-called "intellectual property", please immediately
// cease using counterfeit alphabets.  Instead, contact the nearest temple
// of Amon, whose priests will provide you with scribal services for all
// your writing needs, for Reasonable and Non-Discriminatory prices.


Reply to: