Re: Floating point usage

2008-06-05 Thread Jan Kleinsorge
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


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: Failed to configure/make under Cygwin

2006-08-21 Thread Jan Kleinsorge

Michele Montagni schrieb:
I've tried compiling GRUB 1.94 in Cygwin under Windows 2000, but 
"configure" fails with the following messages:


 checking whether objcopy works for absolute addresses... no
configure: error: GRUB requires a working absolute objcopy; upgrade 
your binutils


My Cygwin is up-to-date as of today, thus the 'binutils'
package has no later version available. This is the version
information I get by using the commands "ld -v" and "objcopy -V":

 GNU version 2.17.50 20060709

I also downloaded, recompiled and installed the latest version of 
'binutils', but the result did not change.
Notice that the same error is obtained while trying to "configure" the 
old, legacy GRUB version 0.97 .


Any ideas ?

Michele Montagni
via Sabotino 16
21100 Varese - Italy
--
phone: +39(0332)23.83.87
fax:  +39(0332)23.45.72
cell.: +39(349)10.14.550



___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
  

Hi,

You will need a toolchain that supports i386/ELF. The Cygwin tools are
very limited and produce PE objects. Also, the binutils are either
'empty' or also tweaked for PE. There is no official toolchain for
Cygwin. In short: This won't work.


Jan



___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel