From owner-freebsd-stable@FreeBSD.ORG Sun Oct 24 02:09:04 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DD85106564A for ; Sun, 24 Oct 2010 02:09:04 +0000 (UTC) (envelope-from sector214@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id CFFC18FC0C for ; Sun, 24 Oct 2010 02:09:03 +0000 (UTC) Received: by wyb42 with SMTP id 42so2209484wyb.13 for ; Sat, 23 Oct 2010 19:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/lffiPlmlp6+8p7XxTk3UJUWde+siWNvRLCZqlsZW8E=; b=mTvJs9SqvdYc54qSN/tM4X+dRKkmpwOoQCnT/1qtys7Z1nqkUQ53sXYoh/GLSf447S JSqxI2ANGYMQk1Px/QCa81l7UaYswzdTfP6Zwjx2UU3itYSSCrwtJDfqCOJS7O/5WkCf 6k3sS8yKmtrlw0Gpv716zYorzufMm/GvLDCz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QEb5wSq02meB9zIleerCnLd5DgyqibbJTLmDdqEVT4JUsRm+IUG5nWfnHjj7VsTLBL oYYJIFwWS/v5EVX2fD6+reVuVh25BWfqtPLoc0O17XHNzJ+O+gFNcekgoxlPani2o0XY ZCY8pu/kat/ZJaYOz0C4srRGILVDog2VLzY4s= MIME-Version: 1.0 Received: by 10.227.157.196 with SMTP id c4mr4751022wbx.174.1287886141708; Sat, 23 Oct 2010 19:09:01 -0700 (PDT) Received: by 10.227.42.36 with HTTP; Sat, 23 Oct 2010 19:09:01 -0700 (PDT) In-Reply-To: References: <4CC1A850.5060601@icyb.net.ua> <4CC1BDBE.2020008@icyb.net.ua> <4CC1F45E.3060803@icyb.net.ua> Date: Sat, 23 Oct 2010 22:09:01 -0400 Message-ID: From: Simon Chang To: Scot Hetzel Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Correct procedure for cross-compilation X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2010 02:09:04 -0000 On Sat, Oct 23, 2010 at 2:12 AM, Scot Hetzel wrote: > On Fri, Oct 22, 2010 at 9:35 PM, Simon Chang 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