From owner-freebsd-questions Sat Nov 9 6:51:43 2002 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 77B7D37B401 for ; Sat, 9 Nov 2002 06:51:41 -0800 (PST) Received: from blacklamb.mykitchentable.net (207-173-241-209.bras01.elk.ca.frontiernet.net [207.173.241.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id D20C643E3B for ; Sat, 9 Nov 2002 06:51:40 -0800 (PST) (envelope-from drew@mykitchentable.net) Received: from bigdaddy (bigdaddy [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 2AAC5EE545; Sat, 9 Nov 2002 06:51:35 -0800 (PST) Message-ID: <001901c287ff$7fe3a1f0$0301a8c0@bigdaddy> From: "Drew Tomlinson" To: "Jerry McAllister" , "Doug Poland" Cc: "FreeBSD Questions" References: <200211082047.gA8KlxC19811@clunix.cl.msu.edu> Subject: Re: /etc/make.conf - Multiple Machines Date: Sat, 9 Nov 2002 06:51:35 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Jerry McAllister" To: "Drew Tomlinson" Cc: "Jerry McAllister" ; "FreeBSD Questions" Sent: Friday, November 08, 2002 12:47 PM Subject: Re: /etc/make.conf - Multiple Machines > > > > > > I'm trying to set up a build machine as described in section 21.5 of > > the > > > > Handbook. The directions say to use a common /etc/make.conf for all > > > > machines that will share binaries. One of my machines is an i686 > > class > > > > CPU. The other is an i585 CPU. To what value should I set CPUTYPE. > > > > Default (nothing)? i586 as it's the lowest common denominator? And > > is > > > > there any value in setting CFLAGS and COPTFLAGS after setting > > CPUTYPE to > > > > whatever I should set it? > > > > > > You can have more than one 'cpu' entry in the conf file. > > > so: > > > > > > cpu I486_CPU > > > cpu I586_CPU > > > cpu I686_CPU > > > > > > Would be legal if you want. Supposedly it makes the kernel just a > > bit > > > begger, but not a lot. > > > > Thanks. I know this is true for kernel config files but is it also true > > for /etc/make.conf? > > Well, since that is setting a value for CPUTYPE constant, it wouldn't > work to do two in a row, I don't think. The last would override. > I don't know what would happen if you did something like: > > CPUTYPE=i586,i386 > > or something like that. Probably depends on the code that is being built. > > But, the documentation within /etc/defaults/make.conf say you are > best to not change the default value if in doubt. I ended up using this documentation advice that Jerry pointed out. Thus, I removed the CPUTYPE line but left the CFLAGS and COPTFLAGS uncommented as Doug suggested. I'm happy to report that I used my P3 machine to build world and kerenels for both itself and a P1. After creating the appropriate Samba shares on the P3 (I already had Samba installed) and connecting to those share via mount_smbfs on the P1, I installed the world and kernel, ran mergemaster, and rebooted without a hitch. It will be nice to be able to upgrade the P1 without spending 2-3 days compiling. Thanks for your help! Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message