Install libnewlib-arm-none-eabi by entering the following commands in the terminal:
sudo apt update sudo apt install libnewlib-arm-none-eabi
C library and math library compiled for bare metal using Cortex A/R/M
Newlib is a C library and math library intended for use on embedded systems. It is a conglomeration of several library parts, all under free software licenses that make them easily usable on embedded products. . This package contains the newlib library compiled for Cortex-A*, Cortex-R4/R5/R7 and Cortex-M0/M0+/M3/M4 targets.