Date: Wed, 21 Mar 2001 09:22:19 -0500 From: James Housley <jim@thehousleys.net> To: "Robin P. Blanchard" <Robin_Blanchard@gactr.uga.edu> Cc: freebsd-stable@freebsd.org Subject: Re: buildworld for alternate target Message-ID: <3AB8B91B.4B0DEDFF@thehousleys.net> References: <3AB8B728.68A036D5@gactr.uga.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB8B91B.4B0DEDFF>