Hi, Update:
Support 64-bit mach-o object files, now you can build i386-pc, i386-efi and x86_64-efi in OSX. Use PIC in x86_64-efi. Relocation R_X86_64_32S would cause problem in machine with 2G or more memory, the only way to get rid of it is to use large memory model, or use PIC. Large model is only available in gcc-4.3 or later, and the generated image is quite large as all address is 8 bytes long. PIC is always enabled in mingw-w64 and apple's gcc, it just need a little work to support PIC in elf platform. Now all system uses PIC instead of large memory model. As with this version, it's possible to build i386-pc, i386-efi and x86_64-efi in Linux/OSX/Windows, using the native build tool, no cross compiler. Only gcc and as is needed to generated object file *.o from source code, linker (ld) and converter (objcopy, objconv, grub-pe2elf, grub-macho2img) are not needed as the conversion is handled by grub-mkrawimage and grub-mkmod. -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel