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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

755件の閲覧回数
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 返信

512件の閲覧回数
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 件の賞賛
返信