From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JNd4y-0003tg-1B for mharc-grub-devel@gnu.org; Fri, 08 Feb 2008 18:56:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNd4w-0003sS-Hr for grub-devel@gnu.org; Fri, 08 Feb 2008 18:56:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNd4v-0003qf-6j for grub-devel@gnu.org; Fri, 08 Feb 2008 18:56:22 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNd4u-0003qX-VU for grub-devel@gnu.org; Fri, 08 Feb 2008 18:56:21 -0500 Received: from mailout06.sul.t-online.de ([194.25.134.19] helo=mailout06.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNd4u-0001j3-Fn for grub-devel@gnu.org; Fri, 08 Feb 2008 18:56:20 -0500 Received: from fwd29.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1JNd4t-0002NO-00; Sat, 09 Feb 2008 00:56:19 +0100 Received: from [10.3.2.2] (ZY9+yUZJ8h9ZFy52tqVvwXRC8zmzpP26FN1+VOu9nUpREG0BMVjeqgV8oM4X9F5Z0d@[217.235.250.92]) by fwd29.aul.t-online.de with esmtp id 1JNd4l-1e5onY0; Sat, 9 Feb 2008 00:56:11 +0100 Message-ID: <47ACEC1A.5020308@t-online.de> Date: Sat, 09 Feb 2008 00:56:10 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: The development of GRUB 2 References: <474754C9.5050400@t-online.de> <20080208233459.GA18269@thorin> In-Reply-To: <20080208233459.GA18269@thorin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ID: ZY9+yUZJ8h9ZFy52tqVvwXRC8zmzpP26FN1+VOu9nUpREG0BMVjeqgV8oM4X9F5Z0d X-TOI-MSGID: 52d9c5e6-5ede-4525-8b8e-7a46c29f6512 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [PATCH] Build 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 Feb 2008 23:56:23 -0000 Robert Millan wrote: > On Fri, Nov 23, 2007 at 11:31:37PM +0100, Christian Franke wrote: > >> This patch enables build on Cygwin. It handles the issues introduced by >> the non-ELF object format. >> >> A linker script replaces the unsupported -N option. PE modules are >> converted to ELF. ELF-only assembly language features are removed. >> >> Please note that this patch produces a conflict in genmk.rb unless the >> "Handle C symbols with leading underscore" is applied first. >> >> This is the last patch derived from "[PATCH] grub2 for Cygwin". >> > > I don't recall which thread this is, but I think the last time we discussed > this the conclussion was that the simplest solution was to enable a build > option in binutils to obtain ELF support? > > Due to limitations and requirements of bfd (no relocation conversion support), gas (no multiple object format support) and gcc (creates object format dependent assembly output), a complete (cross-)compiler toolchain would be necessary. See "Building GRUB on platforms without ELF support". Christian