Soft-Float in GCC 2.7.x for SimpleScalar/PISA

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

 



Dear list,

as you might remember I built this week a cross-compiler for MIPS. This compiler (4.3.2) works great and uses the soft-float feature.

Now I try to rebuild my historic compiler for SimpleScalar/PISA. It is version 2.7.2 and has been ported by somebody I do not know. PISA is quite similar to MIPS, so I hoped to be able to get soft-float running...

But although I configured it to use soft-float (... -nfp AND/OR --without-fp) nothing changed: I can compile my float-code but the necessary functions cannot be found:

/---------------------------------------

./sslittle-na-sstrix-gcc hello.c -msoft-float

/tmp/cceoxQFe1.o: In function `main':
hello.c:1: undefined reference to `__extendsfdf2'
hello.c:1: undefined reference to `__adddf3'
hello.c:1: undefined reference to `__truncdfsf2'
hello.c:1: undefined reference to `__mulsf3'
hello.c:1: undefined reference to `__fixsfsi'

\---------------------------------------

Now I wonder if there soft-float has already been completely supported or if it is necessary to link the program with a third party library...

Do you know which files should have been compiled for soft-float and how I can manually "add them to the linker"? Is there a fitting third-party library?

I wish you a great weekend and want to thank you in advance

Ralf

PS: Glibc 1.0.9 is available and working. :)


[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