This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

undefined reference to __fixdfdi


Hello there,

I'm trying to port to Symbian OS (it runs on ARM) some C code that contains
floating point numbers. For some mystery reason the low-level conversion
functions like __fixdfdi do not get linked in by gcc from libgcc.a, because
I know it's in there, I checked with `nm' (I found reports about that error
in Internet, too).

Ok, the question is not how to resolve that error in Symbian SDK (because
it's surely far from the list topic), but what workaround could I provide?
I defined the function

  long long __fixdfdi(double),

that converts double to int64, but got the same linkage error:

  relocation truncated to fit: ARM_26 __fixdfdi
  undefined reference to `__fixdfdi'

Any suggestions for workaround?
Much thanks!


-- 
Best regards,
Timur Elzhov
Warelex LLC

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]