From owner-freebsd-stable Tue Aug 13 9:16:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A23637B401 for ; Tue, 13 Aug 2002 09:16:39 -0700 (PDT) Received: from topperwein.dyndns.org (acs-24-154-28-203.zoominternet.net [24.154.28.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80A9C43E81 for ; Tue, 13 Aug 2002 09:16:38 -0700 (PDT) (envelope-from behanna@zbzoom.net) Received: from topperwein (topperwein [192.168.168.10]) by topperwein.dyndns.org (8.12.5/8.12.5) with ESMTP id g7DGFbQC088700 for ; Tue, 13 Aug 2002 12:15:37 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Tue, 13 Aug 2002 12:15:32 -0400 (EDT) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD-Stable Subject: Re: Need instructions: build kernel on one machine; install on another In-Reply-To: <3D5927C5.47BFB8A3@dolaninformation.com> Message-ID: <20020813121209.K44669-100000@topperwein.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 13 Aug 2002, Greg Panula wrote: > Chen Xu wrote: > > > > On Tuesday, August 13, 2002, at 10:37 AM, Michael Sierchio wrote: > > > > > > Beware the contents of /etc/make.conf if you have machines with > > > different processors (Athlon versus Pentium versus i686) > > > > Are you saying the kernel compiled at one type of cpu will not > > work on the other type of cpu EVEN the config file it right? > > A generic kernel shipped with CD was certainly compiled > > with only one type of cpu? I might miss something here. > > I use an Althon CPU in my "world-builder" box and I haven't run into any > problems with worlds&kernels built on that box for Intel based > machines(P90-PIII450). The worldbuilder has an empty /etc/make.conf. > > I think Michael was just warning about CPU specific stuff in > /etc/make.conf on the machine doing the actual building. Take a look at > /etc/defaults/make.conf for various CPU specific variables that can be > set. Right. IF you're going to set a CPUTYPE in /etc/make.conf, it has to be set to the lowest common denominator of all of the machines that are going to be installing from the build machine. Of course, if one has the disk space, one can do a few cross-builds using the MAKEOBJDIRPREFIX environment variable, then install from the appropriate cross-build. That's not terribly sensible until the base compiler is GCC-3.1, which has support for some of the newer CPUs. Example: env MAKEOBJDIRPREFIX=/usr/obj.p3 make buildworld CPUTYPE=p3 -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation chris@pennasoft.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message