Bean wrote:
> On Thu, Apr 3, 2008 at 6:07 AM, Christian Franke
>  wrote:
> > ...
> > Just for info: GRUB2 is now available as an experimental package in
> > the Cygwin distribution.
> > 
> 
> Hi,
> 
> That's nice, but how do you create elf file in cygwin, use cross
> compilation tools ?
> 

The cygwin distro does not include any cross compilation tools. A
package that require tools not in the distro would not be accepted.

The package is actually build with native cygwin gcc+binutils.

The related discussion+patches are already on this list, e.g:
http://lists.gnu.org/archive/html/grub-devel/2007-11/msg00238.html
http://lists.gnu.org/archive/html/grub-devel/2007-11/msg00237.html
http://lists.gnu.org/archive/html/grub-devel/2007-11/msg00174.html
http://lists.gnu.org/archive/html/grub-devel/2007-11/msg00161.html
http://lists.gnu.org/archive/html/grub-devel/2007-11/msg00160.html

> ... Also, are tools like grub-setup working in cygwin
> environment ?
> 

Yes, grub-setup builds and works OOTB. "grub-install /dev/sda",
grub-emu, grub-mkrescue, ... all work as expected. I use the cygwin
version of GRUB2 on two Windows+Linux work PC. It is IMO useful to
install+maintain boot manager from cygwin bash when Windows is the main
work OS.

Christian





_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to