Does the Redlib(none) library varient provide stub for the malloc()?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Does the Redlib(none) library varient provide stub for the malloc()?

754 次查看
chaitanyapravee
Contributor II

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()?

0 项奖励
回复
1 回复

511 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

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

0 项奖励
回复