Update: Now fully support mingw-w64, the configure line is this:
./configure --with-platform=efi --target=x86_64-w64-mingw32 Compile ok in both XP64 and linux with mingw-w64 cross compiler, the generated grub.efi tested all right on macbook. Fix some wrong assumption in types.h and efi header files. For example, grub_efi_uint_t is defined as unsigned long, but it should be grub_uint64_t in 64-bit EFI, this problem won't show previously as unsigned long is 64-bit in elf64 gcc, but it's 32-bit in mingw-w64 gcc. Fix a bug in grub-symdb. New code updated to http://github.com/bean123/grub. On Wed, Jul 22, 2009 at 4:55 AM, Bean<bean12...@gmail.com> wrote: > Update: > > Various bug fix > Support EFI platform, > i386-efi: both elf and pe are ok > x86_64-efi: elf ok > > BTW, it's very closed to build x86_64-efi using pe64. In order to > build it, you need to download mingw-w64, and link > x86_64-w64-mingw32-gcc.exe to x86_64-gcc.exe, etc, then: > > ./configure CC=x86_64-gcc --with-platform=efi --target=x86_64 > > compile ok, grub-mkimage also generate the efi image, but it crash when > loading. > > The source code have been pushed to my git repository: > > http://github.com/bean123/grub > > lib branch > -- > Bean > -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel