From owner-freebsd-stable Wed Mar 21 6:22:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 388F937B726 for ; Wed, 21 Mar 2001 06:22:53 -0800 (PST) (envelope-from jim@thehousleys.net) Received: (from root@localhost) by thehousleys.net (8.11.3/8.11.2) id f2LEMLf54742; Wed, 21 Mar 2001 09:22:21 -0500 (EST) (envelope-from jim@thehousleys.net) Received: from thehousleys.net (baby.int.thehousleys.net [192.168.0.24]) (authenticated) by thehousleys.net (8.11.3/8.11.3) with ESMTP id f2LEMJL54734; Wed, 21 Mar 2001 09:22:19 -0500 (EST) (envelope-from jim@thehousleys.net) Message-ID: <3AB8B91B.4B0DEDFF@thehousleys.net> Date: Wed, 21 Mar 2001 09:22:19 -0500 From: James Housley X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Robin P. Blanchard" Cc: freebsd-stable@freebsd.org Subject: Re: buildworld for alternate target References: <3AB8B728.68A036D5@gactr.uga.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Robin P. Blanchard" wrote: > > how do i specify an alternate builddir (other than /usr/obj) > so that i might build a separate obj that is optimized for > my 486 (my current build is optimized for 686)? > One way, if you get no other responses, is this: cd /usr ln -s src src-486 cd /usr/src ; make CPUTYPE=i686 buildworld cd /usr/src-486 ; make CPUTYPE=i486 buildworld For awhile I had 2 source trees, 3.X and 4.X. What this will do is build into /usr/obj/usr/src and /usr/obj/usr/src-486. Then on you 486 machine you will need to do: mkdir /usr/src-486 mount buildmachine:/usr/src-486 /usr/src-486 mount buildmachine:/usr/obj /usr/obj And on the i686 class machines: mount buildmachine:/usr/src /usr/src mount buildmachine:/usr/obj /usr/obj The only other catch is on the i486 machines you will need to run mergemaster as: mergemaster -m /usr/src-486/etc Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- It's always a long day, 86400 doesn't fit into a short. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message