From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KRNt1-0006pt-PR for mharc-grub-devel@gnu.org; Fri, 08 Aug 2008 05:03:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRNsz-0006oC-Ie for grub-devel@gnu.org; Fri, 08 Aug 2008 05:03:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRNsw-0006mQ-KH for grub-devel@gnu.org; Fri, 08 Aug 2008 05:03:49 -0400 Received: from [199.232.76.173] (port=36209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRNsw-0006mC-CX for grub-devel@gnu.org; Fri, 08 Aug 2008 05:03:46 -0400 Received: from main.gmane.org ([80.91.229.2]:33083 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRNsw-0003MW-Jl for grub-devel@gnu.org; Fri, 08 Aug 2008 05:03:46 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KRNst-0000bs-18 for grub-devel@gnu.org; Fri, 08 Aug 2008 09:03:43 +0000 Received: from f053115034.adsl.alicedsl.de ([78.53.115.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Aug 2008 09:03:43 +0000 Received: from patrick by f053115034.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Aug 2008 09:03:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: Patrick Georgi Date: Fri, 08 Aug 2008 11:03:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: f053115034.adsl.alicedsl.de User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: 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 09:03:49 -0000 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. Regards, Patrick Georgi