Subject: Re: Kernel crashed, what now?
To: Aaron J. Grier <agrier@poofygoof.com>
From: None <shannon@widomaker.com>
List: port-sparc
Date: 03/08/2002 19:33:37
On Thu, Mar 07, 2002 at 08:29:16PM -0800, Aaron J. Grier wrote:

> On Thu, Mar 07, 2002 at 07:20:38PM -0500, Charles Shannon Hendrix wrote:
> > On Thu, Mar 07, 2002 at 01:14:52PM -0800, Aaron J. Grier wrote:
> > 
> > > by itself, it doesn't.  the build process builds netbsd.gdb and then
> > > strips it, and that's the kernel you run.  (the stripped version.)
> > 
> > Um... you sure about that?  Most of the time even after stripping the
> > code, it's still slower, unless the kernel tells gcc something that
> > makes it otherwise.
> 
> all makeoptions does is pass extra flags to gcc invocations when
> compiling.  it doesn't change any of the compiled code -- just adds the
> debugging symbols.
> 
> on the other hand,
> 
> options DEBUG
> 
> pulls in extra code, which could definitely slow things down.

Hmmm... OK, I'll take your word for it.

I've never used those options in gcc that it didn't slow down
the code, and maybe even change how it ran (usually due to
pointer bugs).

I'll have to look into it later to see what I'm missing.

Thanks.