This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling with -msoft-float
Hi LJ
I have done that but it was no good...
Here is a list of those "low level" math functions, ld doesnt seem to
locate:
/tmp/ccKhuObA.o(.text+0x94): In function `main':
: undefined reference to `__fixdfsi'
/tmp/ccKhuObA.o(.text+0xc8): In function `main':
: undefined reference to `__fixdfsi'
/tmp/ccKhuObA.o(.text+0xfc): In function `main':
: undefined reference to `__fixdfsi'
/tmp/ccKhuObA.o(.text+0x144): In function `main':
: undefined reference to `__fixdfsi'
/tmp/ccKhuObA.o(.text+0x178): In function `main':
: undefined reference to `__fixdfsi'
/tmp/ccKhuObA.o(.text+0x1ac): more undefined references to `__fixdfsi'
follow
/tmp/ccKhuObA.o(.text+0x204): In function `main':
: undefined reference to `__floatsidf'
/tmp/ccKhuObA.o(.text+0x221): In function `main':
: undefined reference to `__divdf3'
/tmp/ccKhuObA.o(.text+0x298): In function `main':
: undefined reference to `__floatsidf'
/tmp/ccKhuObA.o(.text+0x2b5): In function `main':
: undefined reference to `__divdf3'
/tmp/ccKhuObA.o(.gnu.linkonce.t._Z14benchmarkFloatv+0x4b): In function
`benchmarkFloat()':
: undefined reference to `__muldf3'
All the best.
thanOS