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

_WANT_REENT_SMALL not defined for Newlib in Arm GNU Toolchain 11.2

It appears that Newlib in the Arm GNU Toolchain Version 11.2-2022.02 is not configured with --enable-newlib-reent-small.  I installed gcc-arm-11.2-2022.02-mingw-w64-i686-arm-none-eabi and built one of my embedded applications.  The linker failed due to a RAM overflow.  I figured out that _WANT_REENT_SMALL in newlib.h is not defined.  Moreover, Newlib in this toolchain is configured quite differently than the Newlib in the previous toolchain.

Are there plans to have a GNU Toolchain 11.2 with Newlib built with --enable-newlib-reent-small?

Parents
  • Stam,

    Sorry about that.  I should've been more precise.  I was referring to newlib-nano, not newlib.  I noticed that _WANT_REENT_SMALL wasn't being defined in newlib.h for newlib-nano, and this was causing a large runtime RAM footprint.

    I have no need for newlib, but still have a need for newlib-nano.

    Thank you.

Reply
  • Stam,

    Sorry about that.  I should've been more precise.  I was referring to newlib-nano, not newlib.  I noticed that _WANT_REENT_SMALL wasn't being defined in newlib.h for newlib-nano, and this was causing a large runtime RAM footprint.

    I have no need for newlib, but still have a need for newlib-nano.

    Thank you.

Children