Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 12:28:06 -0500 (EST)
From:      "Michael J. Walsh" <mike@walshm.npt.nuwc.navy.mil>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.ORG>
Cc:        Mitch Collinsworth <mkc@Graphics.Cornell.EDU>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Why is my new kernel so big?
Message-ID:  <Pine.BSF.4.21.0002251226180.11981-100000@walshm.npt.nuwc.navy.mil>
In-Reply-To: <20000225170109.A1501@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help

Folks,

Last question.  When I run config, I get the message

  Don't forget to do a ``make depend''

but there is no mention of this step in Lehey.  What gives?

Mike

------------------------------------------------------------------------------
Michael J. Walsh             Naval Undersea Warfare Center Divsion Newport, RI
Phone: 401.832.4155      22 Combat Systems Dept, 221 Advanced Systems Division
Fax: 401.832.4749                          2211, Information Processing Branch

On Fri, 25 Feb 2000, Mark Ovens wrote:

> On Fri, Feb 25, 2000 at 11:24:03AM -0500, Mitch Collinsworth wrote:
> > 
> > >> Then I decided to configure my kernel for SMP.  I followed the procedure
> > >> listed in Greg Lehey's book (3-rd edition) for rebuilding the
> > >> kernel; specifically, I 
> >  
> > >Somehow you've built a debug kernel. did you do ``config -g'' or have
> > 
> > He said he followed the instructions in the Lehey book.  Those
> > instructions include:
> > 
> > # /usr/sbin/config -g FREEBIE
> > 
> 
> Uh, I didn't bother to check TCFBSD before replying.
> 
> > Mike, take a look at the paragraphs following that line.  They explain
> > why Greg thinks you should use -g.  If you want to save that space,
> > leave out the -g.  What the book doesn't tell you is that it doesn't
> > work to just re-do the config without -g.  If you've used it before it
> > gets "remembered" somewhere for the future.  You can remove the
> > /usr/src/sys/compile/FREEBIE directory, reconfigure without -g and
> > proceed from there.
> > 
> 
> ``config -r'' removes the old compile directory and recreates it
> (without the debug stuff). This also applies if you remove anything
> from the config file, just running ``config'' checks that everything in
> the config file is present in the compile directory, it doesn't remove
> anything that is there but is not (or no longer) required.
> 
> 
> > -Mitch
> 
> -- 
> 	Microsoft: Where do you want to go today?
> 	Linux:     Where do you want to go tomorrow?
> 	BSD:       Are you guys coming, or what?
> 			              -Poster at LinuxWorld 2000
> ________________________________________________________________
>       FreeBSD - The Power To Serve http://www.freebsd.org
>       My Webpage http://ukug.uk.freebsd.org/~mark/
> mailto:mark@ukug.uk.freebsd.org             http://www.radan.com
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002251226180.11981-100000>