"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 .
/ \ -----------------------------------------------------------------
[EMAIL PROTECTED]      http://www.FreeBSD.org     The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
---------------------------------------------------------------------
It's always a long day, 86400 doesn't fit into a short.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to