- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
where would I find information on the differences between the functionality provided in the embedded C libraries and what is provided in non-embedded environments, such as standard gcc c runtime on a pc?
For example, I see that the stdio sscanf function simply returns "0.000" when scanning floats.
Following that, are there linker options for specifying the extent of library support required, or which library to use - such as a stdio version that supports reals?
Thank you,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Darren,
If you refer to embedded libs, are you referring to Newlib?
There is a nice white paper on specific implementations of Newlib. In the introduction of that paper the size difference between "Hello World" with stdlib and newlib is listed.
As an example, floating point needs lots of memory. If printf () can be used without floating point such as iprintf (), you will save many KB in your file.
More examples are listed in the white paper.
hth