Make Picolibc the default libc and Newlib an optional component for SDK GNU toolchain #833
Labels
area: crosstool-ng
Issues related to crosstool-ng
area: GCC
Issues related to GCC (GNU Compiler Collection)
area: Newlib
Issues related to Newlib (C Library)
area: Picolibc
Issues related to Picolibc
enhancement
Since Picolibc is now the default libc for Zephyr serving as a complete replacement of Newlib and only niche applications are using Newlib, there is no good reason to ship Newlib in the SDK GNU toolchain distribution by default in spite of its significant download size and disk space requirements.
With the above in mind, this proposes to rearrange the SDK GNU toolchain distribution such that:
(TOOLCHAIN_PREFIX)/(TARGET)/lib/lib{c,m}.a
and the headers under(PREFIX)/(TARGET)/include
will be from Picolibc).(TOOLCHAIN_PREFIX)/newlib
, and distributed as a separate "overlay" archive,toolchain_overlay_(TARGET).{tar.xz,7z}
, that can be downloaded optionally.The text was updated successfully, but these errors were encountered: