What is newlib in C language?

Wikipedia says that "Newlib is a C standard library implementation intended for use on embedded systems". OK, but where can I find the latest canon version of it? ie the correct true complete version.

Also, what other libraries exist for C language? Could you give me the ISO numbers for them?

I am trying to understand what library types/versions exist for C language so I know what they mean when I come across them in the future.

I would expected C standard library to be called just C standard library but that is not used and these different names like newlib do not seem very easy to decipher.


It is one of many implementations of the standard C library. Here are some other implementations:

  • http://www.musl-libc.org/
  • https://www.gnu.org/software/libc/
  • This is a fine comparison of 4 different implementations. It might be easier for you to understand why people create their own implementations: http://www.etalabs.net/compare_libcs.html

    They differ in speed, compilation time, supported architectures, number of lines of code in the code base, compatibility with the standard, license and so on.

    Python, for example, has various different implementations as well - see this answer: https://stackoverflow.com/a/17130986/4694621.

    链接地址: http://www.djcxy.com/p/53154.html

    上一篇: 内置函数的实现

    下一篇: C语言中的newlib是什么?