Re: GCC 4.4 cross compiler and issue with __floatdidf

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

 



Kai Ruottu wrote:

Vincent R. wrote:
Hi,

When compiling the following code with a gcc 4.4 cross-compiler targetting
arm wince platform I get a problem with undefined reference __floatdidf :

This should mean a conversion routine from long int to double float
and this routine is normally in libgcc...  So a search with 'nm'
would tell if it is there or not.

A quick look in 'gcc/config/arm' told that the 'lib1funcs.asm' should
#include the 'ieee754-*.S' which has this routine. But there are two
conditions for the inclusion :

#ifndef __symbian__
#ifndef __ARM_ARCH_6M__
#include "ieee754-df.S"
#include "ieee754-sf.S"
#include "bpabi.S"
#else /* __ARM_ARCH_6M__ */
#include "bpabi-v6m.S"
#endif /* __ARM_ARCH_6M__ */
#endif /* !__symbian__ */

Whether the WinCE target defines something like these will be left you
as a homework...


[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