|
From: | Isaac Dupree |
Subject: | Re: x86_64 EFI support for grub2 ? |
Date: | Wed, 28 May 2008 16:15:34 -0400 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080505) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |