From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N7aSp-0002n4-MY for mharc-grub-devel@gnu.org; Mon, 09 Nov 2009 15:03:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7aSn-0002mL-6a for grub-devel@gnu.org; Mon, 09 Nov 2009 15:03:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7aSi-0002le-P2 for grub-devel@gnu.org; Mon, 09 Nov 2009 15:03:44 -0500 Received: from [199.232.76.173] (port=49578 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7aSi-0002lb-Ht for grub-devel@gnu.org; Mon, 09 Nov 2009 15:03:40 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:37601 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7aSi-0002rt-0d for grub-devel@gnu.org; Mon, 09 Nov 2009 15:03:40 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1N7aSf-0001G8-RG for grub-devel@gnu.org; Mon, 09 Nov 2009 21:03:38 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1N7aSf-0004EN-At for grub-devel@gnu.org; Mon, 09 Nov 2009 21:03:37 +0100 Date: Mon, 9 Nov 2009 21:03:37 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091109200337.GA15993@thorin> References: <4AE95BEC.4040102@gmail.com> <4AE96168.8070605@gmail.com> <20091109161653.GA5006@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: mingw32 compile fixes (Re: [GITGRUB] New menu interface (implementation)) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 20:03:45 -0000 On Tue, Nov 10, 2009 at 12:46:06AM +0800, Bean wrote: > > MINGW don't have fnmatch.h, add fnmatch.h to include > MINGW don't define S_IROTH, S_IRGRP and u_char > MINGW don't have lstat, getuid and getgid. I started making some adjustments to these, and it was basically rewritten. I verified current trunk cross-compiles for mingw32. The only caveat is I had to use --disable-grub-mkfont. Please try it out. > BTW, my mingw version is 3.4.5 from windows host, it'd be nice if > someone can verify the result with newer version. I assume you mean your GCC version (mingw32 is still at 3.13). Note that we don't support building GRUB with GCC < 4.1.3 anymore. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."