[Top][All Lists]
[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
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/02
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/03
- Re: [PATCH] grub2 for Cygwin,
Bean <=
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/03
- Re: [PATCH] grub2 for Cygwin, Pavel Roskin, 2008/04/03
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/05
- Re: [PATCH] grub2 for Cygwin, Pavel Roskin, 2008/04/06
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/07
- Re: [PATCH] grub2 for Cygwin, Robert Millan, 2008/04/13
Re: [PATCH] grub2 for Cygwin, Robert Millan, 2008/04/13