Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LchKx-0004ui-I7 for mharc-grub-devel@gnu.org; Thu, 26 Feb 2009 09:35:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LchKu-0004tt-IC for grub-devel@gnu.org; Thu, 26 Feb 2009 09:35:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LchKp-0004s8-Lz for grub-devel@gnu.org; Thu, 26 Feb 2009 09:35:39 -0500 Received: from [199.232.76.173] (port=44163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LchKp-0004rz-10 for grub-devel@gnu.org; Thu, 26 Feb 2009 09:35:35 -0500 Received: from mailout04.t-online.de ([194.25.134.18]:40008) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LchKo-0001ty-Ck for grub-devel@gnu.org; Thu, 26 Feb 2009 09:35:34 -0500 Received: from fwd02.aul.t-online.de by mailout04.sul.t-online.de with smtp id 1LchKi-00062T-01; Thu, 26 Feb 2009 15:35:28 +0100 Received: from localhost (bVDbV6ZfghzqIb3a15dSQ8rbCTTPkn-r6S6+VXOcwBXs+5uFP3dwMIQEQHK1VWIwBc@[172.20.101.250]) by fwd02.aul.t-online.de with esmtp id 1LchKH-1cdto00; Thu, 26 Feb 2009 15:35:01 +0100 MIME-Version: 1.0 Received: from 194.45.13.131:51790 by cmpweb07.aul.t-online.de with HTTP/1.1 (Kommunikationscenter V9-2-24 on API V3-3-19) In-Reply-To: <5d3bb3090902260315n30ef082epd4321488c5c245cd@mail.gmail.com> References: <5d3bb3090902260315n30ef082epd4321488c5c245cd@mail.gmail.com> Date: Thu, 26 Feb 2009 15:35:01 +0100 To: "The development of GRUB 2" X-UMS: email X-Mailer: TOI Kommunikationscenter V9-2-24 From: "Christian Franke" Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <1LchKH-1cdto00@fwd02.aul.t-online.de> X-ID: bVDbV6ZfghzqIb3a15dSQ8rbCTTPkn-r6S6+VXOcwBXs+5uFP3dwMIQEQHK1VWIwBc@t-dialin.net X-TOI-MSGID: 8e77bcd7-386f-475c-873f-0f4474ed4a48 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Building grub2 for windows X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 14:35:41 -0000 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