4 ms·
Uh? There are definitely trimmed libc's (not GNU libc!) that run on bare metal. Such as the one used by avr-gcc for example...
by gcp 10y ago
Uh? 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.