AnsweredAssumed Answered

Floating point support for EWL C/C   libraries.

Question asked by Ryan Seal on Jan 9, 2014
Latest reply on Jan 30, 2014 by Pascal Irrle

I'm working with TWR-K70F120M tower along with EWL C/C++ and MQX libraries inside CodeWarrior v10.5. I'm trying to use the sscanf() function and find that I get undefined references:

 

ARM_GCC_Support/ewl/EWL_C/src/stdio/__strtold.c:762: undefined reference to `__dec2num'

ARM_GCC_Support/ewl/EWL_C/src/stdio/__strtold.c:943: undefined reference to `__double_huge'

mingw32-make: *** [cpac_message_test.elf] Error 1

 

As far as I can tell, it looks like my EWL libraries don't have floating point support compiled in? I've tried rebuilding all EWL libraries with the _EWL_FLOATING_POINT definition defined in the makefiles, but that doesn't appear to help. Can someone point me to a possible solution?

Outcomes