From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 18:55:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB06AA81 for ; Mon, 31 Mar 2014 18:55:13 +0000 (UTC) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 298337F3 for ; Mon, 31 Mar 2014 18:55:12 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id s2VItBtZ085711; Mon, 31 Mar 2014 20:55:11 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 1715D1241A; Mon, 31 Mar 2014 20:55:11 +0200 (CEST) Date: Mon, 31 Mar 2014 20:55:11 +0200 From: Roland Smith To: XuZhifeng Subject: Re: Cross Compile From i386 to amd64 Message-ID: <20140331185511.GA37687@slackbox.erewhon.home> Mail-Followup-To: XuZhifeng , "freebsd-questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 18:55:13 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 01, 2014 at 02:27:33AM +0800, XuZhifeng wrote: > Hi All, > > I have a slow i386 machine installed FreeBSD8.2 and a faster amd64 machine > installed FreeBSD9.2. And I want to and the vesa support in the i386 > machine,but much time is spent on compiling the kernel . So I wonder is > there a way to cross-compile? In general it should be possible. The FreeBSD wiki has a page about it: https://wiki.freebsd.org/A_Brief_Guide_To_Cross_Compiling_FreeBSD But that is about compiling the _base_ system. The vesa X11 driver is a por= t, not a part of base. So you'd have to check out the 8.2 source code, set up = the build environment (including building a 8.2 i386 toolchain!) before you can actually start building the port. At a guess, this would cost _you_ much more time than just starting the bui= ld on the slow machine at the end of the day and let it run overnight. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJTOboOAAoJEED21dyjijPg1tEQAIjmEM3Lp+9p9v+yyznRcIqh bLHmWmLYWZIfugqjKPb6rMnNH9DxDtckLnDsZuXt1ABbNGpRZzKzICPSnjZILkt3 RDI3saZMPBct0JupmL1cN/bvbH7U2NzC3FmDa9C3q4UVOrjHXUCoxkLn9A53in3V 1/bYou8sZamNAUGZ6XcXFyVprvacV0vW1oGxiJqp+umQjGCJAoeBjzJuKa+m/f74 Z1tDo1tjeCfjYRG8bvYzXy8GqrQbA2ikofj9rlHDiYlKyjQuixfkK5uDGDload2F frAv/YKPCNqMtMFWJsXueEQp5GuT+Kf1AimtBt6XxM7505FIk6e6iCl/gDEEF+V7 1x+W3QuUIFoKuHuNiizHrDtCLbftOyhsb7kjuywNCMa1FDjvCw/zxJPuGsWEMThL saSBYT1v56z//RTV6XSDBQRrNBIxy/S2XILu/nIpTb13QQUD4b8+Z3LvNn/cJKw2 MPTYw3q4lyOiA3TKsDrh8cQVQgJtliBeqYhAr1YmPwf7IH70hzxJirN1Dpo+3puE X/7yUuaxkykOc4yUYab00zZIlLVLjIDsUBVcWwnGKChPMyRXWOXDZ1HY/aTiFA7O ljwCDRocutCXWKGRv5MVb6RjzLbVaSrdEJYtIlkY0fEngzvROz44aP4M+lGch72f pOiDC7Qw9rfzTUN0YYte =J1EH -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--