Date: Sat, 9 Nov 2002 06:51:35 -0800 From: "Drew Tomlinson" <drew@mykitchentable.net> To: "Jerry McAllister" <jerrymc@clunix.cl.msu.edu>, "Doug Poland" <doug@polands.org> Cc: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: /etc/make.conf - Multiple Machines Message-ID: <001901c287ff$7fe3a1f0$0301a8c0@bigdaddy> References: <200211082047.gA8KlxC19811@clunix.cl.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Jerry McAllister" <jerrymc@clunix.cl.msu.edu> To: "Drew Tomlinson" <drew@mykitchentable.net> Cc: "Jerry McAllister" <jerrymc@clunix.cl.msu.edu>; "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901c287ff$7fe3a1f0$0301a8c0>