From owner-freebsd-questions@FreeBSD.ORG Fri Oct 22 17:11:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E047106566C for ; Fri, 22 Oct 2010 17:11:03 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id A4FDB8FC08 for ; Fri, 22 Oct 2010 17:11:02 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id o9MHB0VS092678 for ; Fri, 22 Oct 2010 18:11:01 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4CC1C5A4.8090103@qeng-ho.org> Date: Fri, 22 Oct 2010 18:11:00 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.12) Gecko/20101007 Thunderbird/3.0.8 MIME-Version: 1.0 To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Cross building for a small machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 17:11:03 -0000 In the near future I'll be getting myself a new box to run a family mail and web server on, and maybe to act as a DNS secondary. As it's small (low speed, low memory, low disk) box, it makes sense to build kernel, world and ports on another, more powerful box. I'm familiar with the idea of building on one box and then NFS mounting /usr/{src,obj} on the target for the actual install, but I've got a couple of complications so I thought I'd ask for advice from people with more experience than me. Firstly, the build box is running amd64, whereas the new box will be i386, with its own /etc/{src,make}.conf. I believe I deal with this, at least for world and kernel, by using make TARGET=i386 _MAKE_CONF=foo SRCCONF=bar ... and then mounting /usr/obj/i386 on the target /usr/obj. Have I got that right? Secondly, the target box is going to be 5 or 6 time zones away from here, so the NFS mounts will be via a VPN, and my home ADSL uplink is only about 1 Mbit/s (downlink is 10). Is this actually going to work? -- "Although the wombat is real and the dragon is not, few know what a wombat looks like, but everyone knows what a dragon looks like." -- Avram Davidson, _Adventures in Unhistory_