On 31.12.2023 19:20, Randy Goldenberg wrote:
GRUB is a boot loader. It runs before the operating system is present.
What is your goal? I. e., what problem is "cross-compiling GRUB for
Windows" intended to solve?
On Sun, Dec 31, 2023 at 6:45 AM D h <[email protected]> wrote:
I believe this question has been asked before but i can't find any
solution about this.
I have spent the last few weeks searching for answer and trying various
thing like installing mingw and configure with --host=i686-w64-mingw32 but
to no avail.
Did you read Autoconf manual and GRUB INSTALL file? The following works
for me
./configure --build=x86_64-linux-gnu --host=x86_64-w64-mingw32
--target=x86_64-linux-gnu --disable-grub-mount
Explicit --disable-grub-mount is needed because configure now fails to
detect lack of FUSE on mingw (or, generally, when cross-compiling).