help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to cross-compile grub for windows?


From: Andrei Borzenkov
Subject: Re: How to cross-compile grub for windows?
Date: Sun, 31 Dec 2023 19:36:01 +0300
User-agent: Mozilla Thunderbird

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 <ThisTis@outlook.com.vn> 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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]