Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: -O0 -g for the whole base system
On Mon, Jul 16, 2012 at 02:49:03PM +0300, Aleksey Cheusov wrote:
> Due to diverse crashes of my netbsd-6 system I decided to recompile
> everything (including X11) without optimization and with debugging info.
> Is the following
>
> COPTS='-O0 -g'
> LDFLAGS='-g'
>
> in mk.conf is enough for this?
> Kernel config already contains
>
> options DEBUG
>
> so, I'm about uselevel.
I do use the following construct which enables full debugging info
depending on MKDEBUG variable.
.if !defined(KERNEL_BUILD) && ${MKDEBUG:Uno} != no
DBG= -g -O2
.endif
--
Nicolas Joly
Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index