This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.4 cross compiler and issue with __floatdidf


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]