Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2005 16:12:42 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        "O. Hartmann" <ohartman@mail.uni-mainz.de>
Cc:        questions@freebsd.org
Subject:   Re: Debug tags in FreeBSD
Message-ID:  <20050407141242.GA84097@falcon.midgard.homeip.net>
In-Reply-To: <42553EB2.8090804@mail.uni-mainz.de>
References:  <42553EB2.8090804@mail.uni-mainz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 07, 2005 at 04:07:46PM +0200, O. Hartmann wrote:
> Dear Sirs.
> Sometimes I watch compiling 'world' or 'kernel' and recognize some '-g' 
> options while compiling, especially when doing so with a FreeBSD 
> 5.X-STABLE branch.
> Are all pre-releases of FreeBSD due to development and bug tracking 
> 'tagged' with debugger options and do they go away with a 'RELEASE' (or 
> is this simply a stupid rumor that all STABLE versions are still tagged 
> to be debugged)?

The default compile options for FreeBSD (including -STABLE, -CURRENT as
well as releases) do not include any debug flags.

> 
> The reason why I ask is simple. I need my FreeBSD box for scientific 
> researches and would like to squeeze out as much power as possible and 
> therefor debugging options are meant to slow down code.

Even if you do compile with '-g' it will not slow down the code at all.
The only drawback will be that the extra debug info will take up extra
space on the disk.

> 
> I'm not a development thug, so if this question sound stupid, I would 
> regret bothering you. Hope someone will answer.




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050407141242.GA84097>