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

RE: [rtl] uresolved symbol __udivdi3 and __umoddi3



Hello Havard,

I think the simplest solution for your problem is not posted so far:
just tell the compiler to use the inline code of the math-functions.
You can do this by adding the "-O2" flag to your CFLAGS.
The inline math-functions are faster than the one in libm, but less
error checking is performed. You have to check the returned values
for "NaN" to detect errors.
A further drawback of the inline functions is that gdb has difficulties
to identify the right source lines when debugging.

Bernd
* - * - * - * - * - * - * - * - * - * -  

SWAROVSKI & CO
Dipl.-Inf. Bernd Suessmilch
Elektronik - Entwicklung 2

Tel. ++43 - +5224 - 500 DW 3671
Fax  ++43 - +5224 - 571 90

Mailto: Bernd.Suessmilch@swarovski.com