From owner-freebsd-stable@FreeBSD.ORG Fri Oct 22 15:05:56 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 E51B9106564A for ; Fri, 22 Oct 2010 15:05:56 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF648FC1F for ; Fri, 22 Oct 2010 15:05:55 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA15587; Fri, 22 Oct 2010 18:05:52 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4CC1A850.5060601@icyb.net.ua> Date: Fri, 22 Oct 2010 18:05:52 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: Simon Chang References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Fri, 22 Oct 2010 15:05:57 -0000 on 22/10/2010 17:33 Simon Chang said the following: > But when I exported /usr/src and /usr/obj read-only from the AMD machine and > mounted them through machine-1, and I tried to installkernel from machine-1, > I kept running into errors right at the beginning of the process. 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