From owner-freebsd-stable@FreeBSD.ORG Fri Oct 22 16:27:21 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 AB201106566B for ; Fri, 22 Oct 2010 16:27:21 +0000 (UTC) (envelope-from sector214@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3418FC08 for ; Fri, 22 Oct 2010 16:27:20 +0000 (UTC) Received: by wwb24 with SMTP id 24so1026631wwb.31 for ; Fri, 22 Oct 2010 09:27:20 -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=GrxxxfpkblP/Miqry3DVc62uzKXr+dRug0k37FJgEtA=; b=EuwI2KJYLEUZvgdnYkHDmLiUjL7+rJz35Pj65h3UDx0WYBG6ftR2qWyr7m98VOp4hN ESGOZ0ud+vwAO1NPDWf23BxzSE4Db1EaWD8kRL9/hJerjgJPCWFuHMw4SmJ2RJb7rdZY WGs/iIowBtRiH0xEOOYl8rAP8sZYwb1+F4U4g= 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=GchSmk3dN0+pZSz9c37LYYSoQVpo77+dr4nTZGwZB9JTKARd5gYqCov4nZebjkEvOn eC385ptiU3nKNBm/GraDsc/AuvN7M7m/UKraYbxaEKpJJTmRsY/tL/YS2uD87+Vq7p5h +1fw1wlJ+bg/DPr95H9n3YVhby4e2N1DMDmzY= MIME-Version: 1.0 Received: by 10.227.132.77 with SMTP id a13mr3210473wbt.5.1287764840096; Fri, 22 Oct 2010 09:27:20 -0700 (PDT) Received: by 10.227.42.36 with HTTP; Fri, 22 Oct 2010 09:27:19 -0700 (PDT) In-Reply-To: <4CC1A850.5060601@icyb.net.ua> References: <4CC1A850.5060601@icyb.net.ua> Date: Fri, 22 Oct 2010 12:27:19 -0400 Message-ID: From: Simon Chang To: Andriy Gapon 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: Fri, 22 Oct 2010 16:27:21 -0000 > 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 > Andriy, But if I run installkernel and installworld on the same machine, I won't be able to install the 32-bit binaries on the slow 32-bit machines that I have. The whole point is to use a fast machine (the AMD 64) to cross-build 32-bit binaries and install them onto the slower, 32-bit machines. Also, how would you use DESTDIR in this case? SC