Correct procedure for cross-compilation

Simon Chang sector214 at gmail.com
Fri Oct 22 16:27:21 UTC 2010


> 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
>

Andriy,

But if I run installkernel and installworld on the same machine, I won't be
able to install the 32-bit binaries on the slow 32-bit machines that I have.

The whole point is to use a fast machine (the AMD 64) to cross-build 32-bit
binaries and install them onto the slower, 32-bit machines.

Also, how would you use DESTDIR in this case?

SC


More information about the freebsd-stable mailing list