Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MYQWj-0004Gl-Pg for mharc-grub-devel@gnu.org; Tue, 04 Aug 2009 16:22:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYQWg-0004E8-Mj for grub-devel@gnu.org; Tue, 04 Aug 2009 16:22:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYQWc-0004Dv-8T for grub-devel@gnu.org; Tue, 04 Aug 2009 16:22:26 -0400 Received: from [199.232.76.173] (port=56679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYQWc-0004Ds-2u for grub-devel@gnu.org; Tue, 04 Aug 2009 16:22:22 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:37613 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 1MYQWb-0007tE-Mz for grub-devel@gnu.org; Tue, 04 Aug 2009 16:22:21 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MYQWY-0004oa-CJ for grub-devel@gnu.org; Tue, 04 Aug 2009 22:22:19 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MYQWV-0004A6-H6 for grub-devel@gnu.org; Tue, 04 Aug 2009 22:22:15 +0200 Date: Tue, 4 Aug 2009 22:22:15 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090804202215.GB15811@thorin> References: <20090731144632.GA14036@thorin> <4A7337AE.5020505@t-online.de> <20090801142523.GB22989@thorin> <4A745A06.4010604@t-online.de> <20090802213111.GB15139@thorin> <1MXtv1-0mkKXY0@fwd00.aul.t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1MXtv1-0mkKXY0@fwd00.aul.t-online.de> 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: grub-pe2elf 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: Tue, 04 Aug 2009 20:22:27 -0000 On Mon, Aug 03, 2009 at 11:33:23AM +0200, Christian Franke wrote: > > > > There has to be more to it. I know you were using GRUB on Cygwin > > before that commit. Was this kludge being used since the beginning? > > I'm using GRUB on Cygwin since 'somewhat' before I announced the first > patch 2007-10-16: > http://lists.gnu.org/archive/html/grub-devel/2007-10/msg00071.html > > This version used the hack in grub's ELF-loader already discussed. It > also contained some non Cygwin related fixes found during testing. > > The grub2 package in the Cygwin distro from 2008-03-30 was based on this > private branch merged to 1.96+epsilon. Understood. > > What are the other options? > > I don't know. > > Waiting until someone fixes BFD or maintains a Linux cross-compiler > package for Cygwin I don't understand what you mean about a "Linux cross-compiler": - Why a compiler? AFAICT, the problem here is assembly/linkage rather than compiling. binutils should suffice. - It's not really "Linux", just generic ELF support (i.e. i386-pc-elf rather than i386-pc-linux-gnu). - It's not exactly "cross". I think something like --enable-targets=i386-pc-elf when building binutils should work just fine. This produces an "ld" that understands multiple formats (-m switch). Have you tried this? -- 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."