Re: A simple guide to GRUB 1.98 on Cygwin + Cross Compiler
Posted: Tue Dec 31, 2013 12:00 am
FYI, the problem appears to have something to do with header sizes being larger than expected. The issue is related to this problem:
http://lists.gnu.org/archive/html/grub- ... 00342.html
If you manage to get past the build of the "something.module.exe" -> "something.mod" file (screwing up the translation from COFF to ELF along the way), you'll find that you get the Decompressor error mentioned in the linked post.
Do this:
...and rebuild from a fresh grub-2.00 source directory. That fixed things up for me. I can't speak to Grub-1.98, but I suspect the problem is the same and thus the same solution should work.
http://lists.gnu.org/archive/html/grub- ... 00342.html
If you manage to get past the build of the "something.module.exe" -> "something.mod" file (screwing up the translation from COFF to ELF along the way), you'll find that you get the Decompressor error mentioned in the linked post.
Do this:
Code: Select all
export TARGET_CFLAGS="-Qn"