From owner-freebsd-current@FreeBSD.ORG Wed Jul 5 18:57:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BE9416A4E5 for ; Wed, 5 Jul 2006 18:57:00 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5392A43D73 for ; Wed, 5 Jul 2006 18:56:58 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k65Iup1u031530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Jul 2006 21:56:51 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k65Iup6v071393; Wed, 5 Jul 2006 21:56:51 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k65IuoAM071392; Wed, 5 Jul 2006 21:56:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 5 Jul 2006 21:56:50 +0300 From: Kostik Belousov To: Ivan Voras Message-ID: <20060705185650.GS37822@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aNvCJ41Feu8IgPyB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: freebsd-current@freebsd.org Subject: Re: Driver compilation for amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 18:57:00 -0000 --aNvCJ41Feu8IgPyB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 05, 2006 at 08:18:02PM +0200, Ivan Voras wrote: > Leubner, Achim wrote: > >Is it possible to cross-compile a driver on an i386 platform for amd64, > >and if possible, how should I do that?=20 > > > >Any help is greatly appreciated. >=20 > It's not exactly an answer to your questions, but you could set up a=20 > virtual machine with (for example) qemu, which supports emulating AMD64= =20 > machine on an i386. FreeBSD-AMD64 version could be installed on it, and= =20 > you could compile whatever you want. Freebsd amd64 definitely does not work inside qemu, because acpi required for that architecture, but is not provided by qemu-system-x86_64. --aNvCJ41Feu8IgPyB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFErAtyC3+MBN1Mb4gRAlreAKCeUA7sMD7LUgUlVg0LgO0YY77OMQCfYGII WLX6oizQKif6KJKpoNCw+9w= =+1JA -----END PGP SIGNATURE----- --aNvCJ41Feu8IgPyB--