From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KRRZ3-0005wU-Ce for mharc-grub-devel@gnu.org; Fri, 08 Aug 2008 08:59:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRRZ1-0005ul-Qq for grub-devel@gnu.org; Fri, 08 Aug 2008 08:59:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRRYz-0005ss-Vb for grub-devel@gnu.org; Fri, 08 Aug 2008 08:59:27 -0400 Received: from [199.232.76.173] (port=54968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRRYz-0005sl-O2 for grub-devel@gnu.org; Fri, 08 Aug 2008 08:59:25 -0400 Received: from mailout09.t-online.de ([194.25.134.84]:46507) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRRYz-0001A2-Aw for grub-devel@gnu.org; Fri, 08 Aug 2008 08:59:25 -0400 Received: from fwd29.aul.t-online.de by mailout09.sul.t-online.de with smtp id 1KRRYx-0002r7-00; Fri, 08 Aug 2008 14:59:23 +0200 Received: from [10.3.2.2] (GFMGJkZeZhBLa9bUvCq0v6AlITxQQkW76eR-KYSMCIukWWphjEXedyQmmkMxXEKZaQ@[217.235.199.35]) by fwd29.aul.t-online.de with esmtp id 1KRRYo-1ZydPc0; Fri, 8 Aug 2008 14:59:14 +0200 Message-ID: <489C431F.3020809@t-online.de> Date: Fri, 08 Aug 2008 14:59:11 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GRUB 2 References: <20080808110942.GA14136@thorin> In-Reply-To: <20080808110942.GA14136@thorin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: GFMGJkZeZhBLa9bUvCq0v6AlITxQQkW76eR-KYSMCIukWWphjEXedyQmmkMxXEKZaQ X-TOI-MSGID: c55a5567-f524-48ee-bb8d-fccf38702a14 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: bug: cygwin support breaks cross compiles on cygwin 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: Fri, 08 Aug 2008 12:59:28 -0000 Robert Millan wrote: > On Fri, Aug 08, 2008 at 11:03:49AM +0200, Patrick Georgi wrote: > >> Hi, >> >> I used cygwin to build grub2/i386-coreboot using an i386-elf cross >> compiler. unfortunately the test in configure only looks for the host >> platform and enables pe2elf in that case, even though my compiler emits >> ELF already. >> >> my workaround is to just change that test (there's no OS cyg_win), but >> of course that's no permanent solution. >> Bean proposed on IRC to look if the target compiler emits PE, and enable >> pe2elf based on that. >> > > I have observed that grub-pe2elf is included even in native builds for ELF > platforms. Perhaps this is caused by the same bug? > > No, grub-pe2elf is build and installed even if is not necessary for the build process. This should be no problem. Christian