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

Re: Compilation options.



On Wed, Sep 24, 2008 at 6:13 PM, Alessio Giovanni Baroni
<alessiogiovanni.baroni@gmail.com> wrote:

> a base question: when one compile a package, often are enabled the debug and
> low level optimiziation. For Debian, how must I to do it? -g/none -O1/-O2/-O3 ?

Always enable -g and use -O2 unless noopt is set in DEB_BUILD_OPTIONS
(then use -O0) or there is some reason not to use -O2 (like incorrect
code generation by gcc).

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: