Correct procedure for cross-compilation

Andriy Gapon avg at icyb.net.ua
Fri Oct 22 15:05:57 UTC 2010


on 22/10/2010 17:33 Simon Chang said the following:
> But when I exported /usr/src and /usr/obj read-only from the AMD machine and
> mounted them through machine-1, and I tried to installkernel from machine-1,
> I kept running into errors right at the beginning of the process.

Try the other way around - it's better to run install{kernel,world} on the same
machine were you did the build.
DESTDIR is your friend too.

-- 
Andriy Gapon


More information about the freebsd-stable mailing list