4 ms·
Why would you use libc embedded? Most of libc kind of expects an OS to be there.
by qwertyuiop924 10y ago
Why would you use libc embedded? Most of libc kind of expects an OS to be there.
- gcp 10y agoUh? There are definitely trimmed libc's (not GNU libc!) that run on bare metal. Such as the one used by avr-gcc for example...
- qwertyuiop924 10y agoYeah, but why? I've never used a libc on embedded, and I'm kind of confused as to why you'd want to. Am I just Doing It Wrong™?
- saaadhu 10y agoAtleast for avr-gcc, (part of) startup code and vector table layout come from avr-libc. I'm kinda surprised you got by without libc - no strxxx, memxxx ,xxxprintf/no math.h functions ever?
- qwertyuiop924 10y agoNo. But my embedded projects weren't particularly impressive. I can at least see the need now.