newlib/libc/include/sys/select.h to the latest from newlib, as it corrects mistaken licensing.Git does not preserve timestamps on checked-in files, causing the configure script to think that it is out-of-date, and then complaining about missing autoconf files on your workstation.
Running autoreconf before running configure resolves this problem, so that was added to the build-prerequisites.sh script.
NOTICESnewlib-arm-none-eabi-files.txt to list the files possibly redistributed with binaries built with newlib.collect-license.py script to extract licenses into a file.NOTICES.arm-none-eabi for notices that must be provided when distributing binaries built with the arm-none-eabi target (and newlib).build-gcc.sh scriptbuild-gcc.sh to stage, clone, build, and install (into ~/.cache/toolchains) this GCC version.Change the configuration scripts to include posix threading.
Modify newlib/newlib/libc/include/sys/features.h to include pthreads definitions if no other system was detected.
Modify newlib/newlib/libc/stdio/local.h to wrap calls to pthread_setcancelstate with a weak reference only realized if pthread_cancel is linked into the binary. This prevents unresolved symbols for programs that don't use pthreads.
Modify some implementations to call the new __nthread calls.
newlib/newlib/libc/stdio/fclose.cnewlib/newlib/libc/stdio/freopen.cnewlib/newlib/libc/stdio/freopen64.csrc/gcc/libstdc++-v3/include/bits/std_mutex.h so that the __base_mutex destructor is implemented whether __GTHREAD_MUTEX_INIT is defined or not.