-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/07/2014 03:52 PM, Vladimir '?-coder/phcoder' Serbinenko wrote: > On 07.04.2014 17:04, SevenBits wrote: >> On Monday, April 7, 2014, Yves Blusseau <bluss...@zetam.org >> <mailto:bluss...@zetam.org>> wrote: >> >> Hi, >> >> this is a patch to allow compilation of grub2 with Apple >> Compiler >> >> >> Haven't looked at it yet, but if it works, I'd be major. > GRUB was compilable under Apple compiler since quite a long time. > But nobody cared about it and nobody reported problems so it broke > again. If you care about Apple, then report problems, preferably > with patch
Well... the issue is that Apple's compiler cannot build executables in anything except OS X's native Mach-O format. This obviously rules out one of GRUB's supported platforms (EFI) which requires PE binaries, unless we're going to ship (or require as a build dependency) a tool that can convert between the various object formats. I'm not very knowledgeable about GRUB for non-EFI platforms, as EFI is my main focus for when I use GRUB. But Apple's compiler is finicky in general so I expect there might be some issues in building e.g GRUB-PC. That's AFAIK, though. Perhaps someone with more knowledge about GRUB's internals in this area than I can elaborate further. But I'd expect any Apple solution to suffer from neglect. GRUB isn't used much on Apple hardware, and when it is, it is used to boot Linux and is compiled on that platform. And even when GRUB *is* built on OS X, it is typically done so with a cross compiler. Using Apple's toolchain just isn't a big need unfortunately. >> Currently I have to build GRUB on Linux when my current >> development machine is a Mac. This will be a big development, at >> least for me. >> >> >> _______________________________________________ Grub-devel >> mailing list Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >> > > > > > _______________________________________________ Grub-devel mailing > list Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTQwvwAAoJEFbRvtGxmFPETZwH/jDXwpbGWK1XVsPOJe8PE5jz 9AH+EixFVIcukFLGyHlYSPzq27RVYtPuEDEp0XIybs6VNVloUefYv5Rb9tPkwNtd iQAMR93u2X8pjJAjjd315b9167LubAQ4a/Eu8hnhGl+HLWprX+XY3ru1l3Ktc7e1 5N8KVYRRb9itmSM7wh+WJFK5Xu7rjG5DRXV0trO+zTIcpCouUMX69ZC1BLk8Lf5H eVMMRi8kOmTdfgC7O/bdFNar5FgWRpc3Uv+ge/5QelpeZxPsGUOR2DVsVh9CiI7Z XUi4hYCo/eZyilIXdIsvQRAtnD5nB5hQfhEA1wD5+vs6QmyV9hbT3cALWvwWNds= =v80o -----END PGP SIGNATURE----- _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel