Usage of libC in linux kernel and standalone programming
We can use standard C library routines in standalone micro-controller pro开发者_Go百科gramming but we cant in linux kernel. my question is, in both cases while they are running on the target hardware both of them dont have access to the libC this explains the "linux kernel" case but what happens when it comes to the standalone application on some micro controller(say MSP430).
Programs running on embedded controllers typically are linked with a (suitably small) version of the standard library. The kernel is not linked to the standard C library, thus it can't be used.
精彩评论