[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New x86_64 EFI patch
From: |
Bean |
Subject: |
Re: [PATCH] New x86_64 EFI patch |
Date: |
Thu, 17 Jul 2008 23:18:43 +0800 |
On Thu, Jul 17, 2008 at 11:02 PM, Javier Martín <address@hidden> wrote:
> El jue, 17-07-2008 a las 17:50 +0800, Bean escribió:
>> Committed.
>>
> Seemingly, the fact that there is now separate recognition for "x86_64"
> machine types has borked the current build system in amd64 PCs:
>
> $ make
> ./config.status --recheck
> running CONFIG_SHELL=/bin/bash /bin/bash ../src/configure
> --prefix=/home/javier/Proyectos/grub/build/out/ --no-create
> --no-recursion
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> configure: error: unsupported machine type
> make: *** [config.status] Error 1
>
> The current system would build bootloader files as i386-pc (with the
> -m32 switch in gcc, which itself created the infamous "cannot find start
> or _start" problem when a multilib version of gcc was not installed) and
> helper files like grub-setup as amd64. This caused problems of its own,
> like grub-emu (built as amd64) being unable to load any grub modules
> (built as i386), but at least worked OOtB.
>
> I was able to correctly recompile if I reconfigured GRUB with
> --target=i386-pc-linux-gnu (i386-pc alone was not recognized). Is this
> the current way to go? I feel it should not be so, because it multiboot2
> comes out with amd64 support, there should be an x86_64-pc grub2.
Hi,
To compile 32-bit efi:
./configure --platform=efi --target=i386
To compile 64-bit efi:
./configure --platform=efi --target=x86_64
This works in i386 and x86_64 host. If you don't use --target, it will
build native image.
--
Bean
- Re: [PATCH] New x86_64 EFI patch, (continued)
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/06
- Re: [PATCH] New x86_64 EFI patch, Isaac Dupree, 2008/07/08
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/08
- Re: [PATCH] New x86_64 EFI patch, Robert Millan, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Robert Millan, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/12
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch,
Bean <=
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Bean, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Pavel Roskin, 2008/07/17
- Re: [PATCH] New x86_64 EFI patch, Javier Martín, 2008/07/17
- generic BIOS-less boot (Re: [PATCH] New x86_64 EFI patch), Robert Millan, 2008/07/19