grub-devel
[Top][All Lists]
Advanced

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

Re: Building grub2 for windows


From: Christian Franke
Subject: Re: Building grub2 for windows
Date: Thu, 26 Feb 2009 15:35:01 +0100

Alexandre Bique wrote:
> 
> I am trying to build grub2-svn for windows by using mingw32 or cygwin
> but it fails to generate valid windows executables (grub-setup,
> grub-mkimage, etc...).
> 
> My configure line:
> ./configure --prefix $HOME/grub-install
> 
> using mingw32, msys, gcc 3.4.5 (mingw-vista special r3), binutils
> 2.19.1 
> I also tried with cygwin, gcc 3.4.4, binutils 2.18.50.20080625.
> 

Grub2 should build out of the box on Cygwin. The following works for me
with current grub2 svn (revision 2001) on current Cygwin 1.5.25-15:

$ ./configure --enable-grub-fstest --prefix=/tmp/inst
$ make
$ make install
$ /tmp/inst/bin/grub-mkrescue grub-rescue.iso
... boot grub-rescue.iso ...

There is actually one issue in current grub2 svn: Build with
--enable-grub-emu configure option does not work. It fails with
undefined symbol 'grub_millisleep'.

What is the error message you got on Cygwin ?

-- 
Christian Franke







reply via email to

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