Skip to content

Investigate picolibc, other newlib alternatives #5530

@jepler

Description

@jepler

We rely on newlib as implementation of the C standard library and some standard UNIX APIs. This is generally furnished by ARM with their GNU toolchain.

In the past, @tannewt has observed that Arch's newlib is built with -Os, and this saves some space compared to the newlib furnished by ARM.

I noticed that Debian has picolibc which has its home at https://keithp.com/picolibc/ -- I believe it would be suitable to incorporate in CircuitPython.

As Picolibc is a combination of code from both Newlib and AVR-libc, the licensing of the source code is fairly complicated, but the general result is similar to the BSD 3-clause or MIT license.

Investigate alternatives and see which one gains back code space with the least "other costs" associated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions