Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 1997 18:57:11 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        chuckr@mat.net, FreeBSD-current@FreeBSD.ORG
Subject:   Re: buildworld
Message-ID:  <199710081857.LAA00242@usr05.primenet.com>
In-Reply-To: <199710080636.XAA05880@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Oct 7, 97 11:36:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>  * Getting back to current was flawless.  Makefile buildworld, ven from a 2.2
>  * base, simply worked right, first time.
>  * 
>  * Thanks for the work, Satoshi, you sure made things easy!
> 
> Well, sorry to burst a bubble but I don't think going to -current from
> 2.2 on *one* machine was hard even without my modification. ;) (Of
> course, if someone is going to 2.2 or -current from 2.1.x, that's a
> different question.)

Unless you have an if_de.c using ethernet card...

This is because the compiler will not be rebuilt with "__FREEBSD__=3"
until you rebuild the compiler while running on the new kernel.  But
you can't build a new kernel, because the if_de.c driver won't build
correctly, unless you compile the new kernel with "__FREEBSD__=3".

Nice Catch-22... or in this case, Catch-2.2.


> Now, with people's help, -current no longer requires the source tree
> to be in /usr/src so you can even build -current and 2.2 worlds on the
> same fileserver (just have "/usr/src" pointing to the 2.2 source tree).

No, you can't, so long as any code anywhere tests __FREEBSD__.

> Do "make installworld" on the NFS clients and you'll be all set (I do
> this all the time).

This will work, because the kernel and compiler versions will be correct.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710081857.LAA00242>