From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K4H8k-00009h-O5 for mharc-grub-devel@gnu.org; Thu, 05 Jun 2008 11:12:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4H8i-000070-31 for grub-devel@gnu.org; Thu, 05 Jun 2008 11:12:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4H8g-000050-Js for grub-devel@gnu.org; Thu, 05 Jun 2008 11:12:31 -0400 Received: from [199.232.76.173] (port=53417 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4H8g-0008WM-9I for grub-devel@gnu.org; Thu, 05 Jun 2008 11:12:30 -0400 Received: from mail.gmx.net ([213.165.64.20]:58879) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K4H8g-0006X0-0N for grub-devel@gnu.org; Thu, 05 Jun 2008 11:12:30 -0400 Received: (qmail invoked by alias); 05 Jun 2008 15:12:26 -0000 Received: from dslb-084-060-068-190.pools.arcor-ip.net (EHLO [192.168.128.20]) [84.60.68.190] by mail.gmx.net (mp045) with SMTP; 05 Jun 2008 17:12:26 +0200 X-Authenticated: #733973 X-Provags-ID: V01U2FsdGVkX1+ZDc8vgemZyWOkGh4LHjHtJ3H/MDN0W1KSidhP9x Kgpkp2KLxgMhVu Message-ID: <4848025A.9010302@gmx.de> Date: Thu, 05 Jun 2008 17:12:26 +0200 From: Jan Kleinsorge User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: The development of GRUB 2 References: <1212598032.15804.9.camel@dv> In-Reply-To: <1212598032.15804.9.camel@dv> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Floating point usage 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: Thu, 05 Jun 2008 15:12:32 -0000 Pavel Roskin wrote: > Hello! > > I tried to compile the current grub on Fedora 9 for PowerPC, but it > failed due to floating point usage in ls. Sorry, I don't have the exact > message handy. > > Anyway, there are several references to "float" and "double" in the > code, and I think it's wrong. GRUB should be able to work on systems > with no floating point support and on systems where the floating point > device needs to be activated. Even Linux kernel avoids using floating > point. > > If everyone is fine, I'll try to remove all floating point stuff from > the code. > Hi Pavel, there is no need for hard-float support on the target machine. The libgcc provides all the software-emulation routines. Given that GRUB is linked against it. Which is likely as it is a necessity when compiling with gcc. Maybe your compilation is simply broken because of that one missing. Could you please post the error message? Jan