From owner-freebsd-questions@FreeBSD.ORG Mon Nov 28 13:27:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526BD16A41F for ; Mon, 28 Nov 2005 13:27:17 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 050DB43D4C for ; Mon, 28 Nov 2005 13:27:12 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 21640 invoked by uid 207); 28 Nov 2005 13:27:10 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.30/3.97. Clear:RC:1(81.186.70.128):. Processed in 0.452366 secs); 28 Nov 2005 13:27:10 -0000 Received: from dialup128.ach.sch.gr (HELO flame.pc) ([81.186.70.128]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Nov 2005 13:27:09 -0000 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jASDQWc0001617; Mon, 28 Nov 2005 15:26:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jASDQWxJ001616; Mon, 28 Nov 2005 15:26:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 28 Nov 2005 15:26:32 +0200 From: Giorgos Keramidas To: Forrest Aldrich Message-ID: <20051128132632.GD1405@flame.pc> References: <438AB94F.1060105@forrie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <438AB94F.1060105@forrie.com> Cc: freebsd-questions@freebsd.org Subject: Re: Compiling /usr/src for different machines in one location... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 13:27:17 -0000 On 2005-11-28 03:01, Forrest Aldrich wrote: > I have a firewall machine that's slower (it's just a firewall) > for which I'd like to do a buildworld/buildkernel on another > faster machine. > > The old machine is a 500mhz 686 class machine, the newer is > 2.8ghz 686 class. I don't know that I'd need to adjust the CC > flags for this, however. > > It's probably in the handbook (I've searched) on how to do this. > > My guess is passing flags to "make" in /usr/src and > nfs-mounting that from the older machine to perform an > installworld - provided that is possible in single user mode. Since these are essentially the same architecture, make sure you don't use any fancy optimization flags in /etc/make.conf and go ahead. Things should work as expected, AFAICT. - Giorgos