Correct procedure for cross-compilation
sector214 at gmail.com
Sun Oct 24 02:09:04 UTC 2010
On Sat, Oct 23, 2010 at 2:12 AM, Scot Hetzel <swhetzel at gmail.com> wrote:
> On Fri, Oct 22, 2010 at 9:35 PM, Simon Chang <sector214 at gmail.com> wrote:
> > OK... except that this flies in the face of this part from the Handbook:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html
> That part in the handbook only works when both the build machine and
> the target machines are running the same O/S arch (i.e. i386).
> > Also, if you are right, where should I run mergemaster???
> You can run mergemaster from either the build machine or the target
> machine. The target machine would need to have the /usr/src NFS
> To use mergemaster on the build machine use:
> mergemaster -A i386 -D /path/to/nfs/mnt/
Great, thank you Scot and Andriy for your suggestions. While I am very
comfortable with the build procedure for single arch/cputype, I am
relatively new to cross compiling.
I will put your advice to use and let you know if I run into problems.
More information about the freebsd-stable