Does the Redlib(none) library varient provide stub for the malloc()?
01-30-2017
06:42 PM
786 Views
chaitanyapravee
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I am trying to understand the library variants provided by the lpcxpressov8.2.2. According to What are none, nohost and semihost libraries? the none variant will not provide stubs for all file-based I/O and some string and memory handling functions.
What all are the memory and string function it will not provide stubs?
Does it provide stubs for malloc() and free()?
1 Reply
01-31-2017
04:47 AM
543 Views


NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, malloc() should work linking against Redlib (none). Generally, I would recommend that you link against Redlib (none) and then switch to Redlib (nohost) only if functions you are using trigger link errors, of the form described in ...
https://community.nxp.com/message/630711
Regards,
LPCXpresso Support
