SF soft-fp for i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

trying to compile a simple soft-fp test on i386 I get multiple link errors:

>cat test.c
int main ()
{
  float a,b;
  return (int)a*b;
}
>gcc -msoft-float test.c -m32
/tmp/cc1Zh1Jy.o: In function `main':
test.c:(.text+0x11): undefined reference to `__fixsfsi'
test.c:(.text+0x19): undefined reference to `__floatsisf'
test.c:(.text+0x29): undefined reference to `__mulsf3'
test.c:(.text+0x31): undefined reference to `__fixsfsi'
collect2: error: ld returned 1 exit status

Is there a way to configure libgcc to have implementations for SF
soft-fp functions or it is not supported for i386?

Thanks,
Ilya




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux