Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2010 22:09:01 -0400
From:      Simon Chang <sector214@gmail.com>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Correct procedure for cross-compilation
Message-ID:  <AANLkTi=jwffOn%2B4Q8e7afcvzdztNFvjM7rak3-=HjORQ@mail.gmail.com>
In-Reply-To: <AANLkTim=6pmnmObJjfCu0pon9QtN8_yOht9FT203bf3T@mail.gmail.com>
References:  <AANLkTikLRCZFyw=4yiv8ywk_%2Be5zYSM30rCca9OXDeO-@mail.gmail.com> <4CC1A850.5060601@icyb.net.ua> <AANLkTi=O2FhZtCDNvg1v%2BkU28XoPQmDL7Xaww64wV2UO@mail.gmail.com> <4CC1BDBE.2020008@icyb.net.ua> <AANLkTikt-gMkdNCPkzw5cWPOxHZJeANgJbYOi9DhE2CY@mail.gmail.com> <4CC1F45E.3060803@icyb.net.ua> <AANLkTikKHxPwkMKJ4==jxb6UVttzVwmvzGvM-1vK2=9y@mail.gmail.com> <AANLkTim=6pmnmObJjfCu0pon9QtN8_yOht9FT203bf3T@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 23, 2010 at 2:12 AM, Scot Hetzel <swhetzel@gmail.com> wrote:

> On Fri, Oct 22, 2010 at 9:35 PM, Simon Chang <sector214@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
> 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.

Cheers!

SC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=jwffOn%2B4Q8e7afcvzdztNFvjM7rak3-=HjORQ>