Correct procedure for cross-compilation

Simon Chang sector214 at
Sun Oct 24 02:09:04 UTC 2010

On Sat, Oct 23, 2010 at 2:12 AM, Scot Hetzel <swhetzel at> wrote:

> On Fri, Oct 22, 2010 at 9:35 PM, Simon Chang <sector214 at> wrote:
> > OK... except that this flies in the face of this part from the Handbook:
> >
> >
> >
> 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
> mounted.
> To use mergemaster on the build machine use:
> mergemaster -A i386 -D /path/to/nfs/mnt/
> Scot

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