Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 13:23:30 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        t-u-t <marshc187@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel configuration
Message-ID:  <59D1279C-80DC-4CC9-A7CD-EBC4893612ED@mac.com>
In-Reply-To: <332f78510901141244y198e7be6qf3b34f306c03f232@mail.gmail.com>
References:  <496E06D1.2070706@gmail.com> <20090114181522.GB4487@aurora.oekb.co.at> <B4DD918A-6026-4206-9C14-70DCD0028CFB@mac.com> <332f78510901141244y198e7be6qf3b34f306c03f232@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 14, 2009, at 12:44 PM, t-u-t wrote:
>> While it is true that you can comment out all but i686 and get a  
>> working
>> kernel, you will experience reduced performance.  There are a  
>> number of
>> low-level assembly routines (cf sys/i386/i386/support.s such as  
>> i586_bcopy)
>> that are conditionalized off of I586_CPU only, even though they  
>> provide an
>> advantage on i686 platforms also.
>>
>> --
>> -Chuck
>
> so in any case it doesn't hurt to leave all 3. right?

Certainly it doesn't hurt.  As far as I can tell, leaving 486 option  
increases the kernel size (very) slightly but there doesn't seem to be  
many things optimized for 486 which don't have better equivalents  
coded for 586 or 686.

Leaving out the 586 option would not be desirable AFAICT....

> I have one last question though, is
>
> makeoptions DEBUG=g necessary if i am not debugging or is it always
> necessary to build the kernel properly? can i safely comment it out?

It can be commented out safely, yes.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59D1279C-80DC-4CC9-A7CD-EBC4893612ED>