How to use math functions in Cosmic and Raisonance?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-25 9:48 AM
Posted on July 25, 2015 at 18:48
I wanted to compare how the most important C compilers for STM8 perform on some standard benchmarks. However, I've run into a problem with Whetstone: I get linker errors for the math functions in the Cosmic and Raisonance compilers. Both provide the math.h header, but apparently there are some extra steps needed that I don't know about.
In Cosmic 4.3.13: error clnk stm8s208mb.lkf: symbol f_cosf not defined In Raisonance 2.56.15.0092: ERROR 100: UNRESOLVED EXTERNAL Philipp
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-11-10 4:02 AM
Posted on November 10, 2016 at 13:02
Inside ST Visual Develop, go to the Project / Settings... menu and select the Linker tab. Check the ''Float'' box. Then recompile.
