Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K1S3u-0004lb-Bz for mharc-grub-devel@gnu.org; Wed, 28 May 2008 16:15:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1S3t-0004lG-Fw for grub-devel@gnu.org; Wed, 28 May 2008 16:15:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1S3s-0004ks-46 for grub-devel@gnu.org; Wed, 28 May 2008 16:15:53 -0400 Received: from [199.232.76.173] (port=37911 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1S3r-0004kp-Uv for grub-devel@gnu.org; Wed, 28 May 2008 16:15:51 -0400 Received: from mta21.charter.net ([216.33.127.81]:47261) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1S3r-0006mj-Pj for grub-devel@gnu.org; Wed, 28 May 2008 16:15:51 -0400 Received: from aarprv06.charter.net ([10.20.200.76]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080528201542.KAGW23078.mta21.charter.net@aarprv06.charter.net> for ; Wed, 28 May 2008 16:15:42 -0400 Received: from [192.168.0.104] (really [71.10.234.12]) by aarprv06.charter.net with ESMTP id <20080528201542.IWJB3194.aarprv06.charter.net@[192.168.0.104]> for ; Wed, 28 May 2008 16:15:42 -0400 Message-ID: <483DBD66.5030407@isaac.cedarswampstudios.org> Date: Wed, 28 May 2008 16:15:34 -0400 From: Isaac Dupree User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: The development of GRUB 2 References: <48398A66.5010902@isaac.cedarswampstudios.org> <483ABA62.6080308@isaac.cedarswampstudios.org> <483B0B53.1090001@isaac.cedarswampstudios.org> <483BDDD2.1010608@isaac.cedarswampstudios.org> <483BF949.6020708@isaac.cedarswampstudios.org> <20080528141735.GI26495@thorin> In-Reply-To: <20080528141735.GI26495@thorin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Subject: Re: x86_64 EFI support for grub2 ? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2008 20:15:53 -0000 Robert Millan wrote: > On Tue, May 27, 2008 at 08:23:09PM +0800, Bean wrote: >> It's possible to create multiple arch image, but it requires some >> extra work. We need to compile i386-efi and x86_64-efi separately, >> then use a tool to merge them. This can't be done in a single step. > > Why not just drop the -m32 and always build "native" images? So if you > build the i386-efi target on i386, you get a 32-bit image and if you build > it on x86_64 you get a 64-bit one? take the MacBook. There are different versions, let's call them (A), the original MacBook, 32-bit CPU; (B), mine, 64-bit CPU; and (C), Bean's, 64-bit CPU. A and B require 32-bit EFI image. (actually, B might accept both 32 and 64 bits images, I'm not sure) C requires 64-bit EFI image. I can run a 32-bit distro and linux-kernel on any of them -- A, B or C. I can run a 64-bit distro on B or C. Basically, neither CPU nor system arch tells you what kind of EFI image is "native". There must be some way to find out what kind of image *is* native -- but I have no idea what it is. -Isaac