How to add log10 function to MCF52232 project?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add log10 function to MCF52232 project?

1,837 Views
ZBL
Contributor I

I used CW7.1 and Interniche TCPIP_Lite package.

When I want to use log10 to solve some problem, the compiler shows error of "Undefined log10" .

How to deal it?

Add what lib?

 

Thank you! 

Labels (1)
0 Kudos
1 Reply

364 Views
CrasyCat
Specialist III

Hello

 

Please check "{Install}\Help\PDF\ColdFire_Build_Tools_Reference.pdf", chapter "Coldfire Runtime Library" section "MSL for Coldfire Development".

 

Per default when you create a project for MCF5223x the project wizard links the application against the Reduced working set library.

 

If you need floating point support you need to link against the fully compliant libraries.

 

You can also look at this thread for more information.

      http://forums.freescale.com/freescale/board/message?board.id=CWCFCOMM&message.id=762&query.id=9198#M...

 

CrasyCat

0 Kudos