Embedded GCC Libraries: newlib vs. nanolib
C/C++ compilers include a set of standard functions to be linked with user programs. They are called libc and libc++ respectively. For GCC, they are also called glibc and glibc++ (in the rest of this post, I would use glibc to mean both glibc and glibc++). Most of the functions are directly callable by the user programs, e.g. printf, but some are internal functions known to the compiler to support operations not directly supported by the target hardware. For example, double precision floating point add. Traditional glibc is written for “big machines” such as Linux. For embedded use, it’s too […]
Embedded GCC Libraries: newlib vs. nanolib Read Post »