This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

what library used on arm gcc none eabi ?

1. Does arm-gcc-none-eabi and newlib is packed?

2. Why arm-gcc-none-eabi need glibc 2.14?

I have a problem when I use arm gcc none eabi cross compiler.

"version GLIBC_2.14 not found"

Then I install glibc 2.14 and add to LD_LIBRARY_PATH. It's perfect compile my code.

But I have not download newlib in my system.

I don't know what library is linked on arm-gcc-none-eabi.

Do I need add some option to use newlib when I Compile C code? Or default is linked to newlib.

This web site said arm-gcc-none-eabi is based on Free Software Foundation's (FSF) GNU Open source tools and newlib.

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads?_ga=2.161423419.782641712.1568254978-323909128.1538373791

Parents
  • Dear sir,

    If you download yourself gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 it should be enough to build your application for the specific target.
    Please note that Newlib is just a C standard library implementation intended for use on embedded systems (as embedded systems have more hardware / resource constrains). So if you use C standard library functions in your code, Newlib implementation of it will be compiled with your code. Please note Newlib does have some limitations in comparison with other implementation of it like glibc or musl.

    kind regards

Reply
  • Dear sir,

    If you download yourself gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 it should be enough to build your application for the specific target.
    Please note that Newlib is just a C standard library implementation intended for use on embedded systems (as embedded systems have more hardware / resource constrains). So if you use C standard library functions in your code, Newlib implementation of it will be compiled with your code. Please note Newlib does have some limitations in comparison with other implementation of it like glibc or musl.

    kind regards

Children