grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] grub2 for Cygwin


From: Bean
Subject: Re: [PATCH] grub2 for Cygwin
Date: Fri, 4 Apr 2008 00:02:13 +0800

On Thu, Apr 3, 2008 at 9:28 PM, Christian Franke
<address@hidden> wrote:
> 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

It seems you have spent a lot of effect to make it work, but some
trick is not very appealing. I personally don't mind, but I don't know
if it can be accepted by others.

>
>  > ... 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.

Can you make it work with mingw, for example, use the -mno-cygwin compile flag ?

-- 
Bean




reply via email to

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