Compiling /usr/src for different machines in one location...
Giorgos Keramidas
keramida at ceid.upatras.gr
Mon Nov 28 13:27:17 GMT 2005
On 2005-11-28 03:01, Forrest Aldrich <forrie at forrie.com> wrote:
> I have a firewall machine that's slower (it's just a firewall)
> for which I'd like to do a buildworld/buildkernel on another
> faster machine.
>
> The old machine is a 500mhz 686 class machine, the newer is
> 2.8ghz 686 class. I don't know that I'd need to adjust the CC
> flags for this, however.
>
> It's probably in the handbook (I've searched) on how to do this.
>
> My guess is passing flags to "make" in /usr/src and
> nfs-mounting that from the older machine to perform an
> installworld - provided that is possible in single user mode.
Since these are essentially the same architecture, make sure you
don't use any fancy optimization flags in /etc/make.conf and go
ahead. Things should work as expected, AFAICT.
- Giorgos
More information about the freebsd-questions
mailing list