[PATCH] [libc++] Support newlib as libc++'s C library
jfb at chromium.org
Fri Jan 3 15:37:34 PST 2014
The newlib fixes are in the 2.1.0 release save for stdint.h changes.
This libc++ patch is still useful as-is.
On Mon, Dec 16, 2013 at 4:54 PM, JF Bastien <jfb at chromium.org> wrote:
> Fix issues that LLVM's libc++ test suite finds when setting newlib as
> the C library:
> - Work around newlib's limited locale support (which AFAICT is allowed in C).
> - Teach libc++ about the rest of newlib's locale support.
> - Work around newlib's limited support for long double (expecting it
> to be double when supported at all).
> - Undefine clearerr/feof/ferror (C allows these to be macros).
> Note that newlib also needs changes to update its C99/C11/C++11
> support, I'm sending a separate patch to the newlib at sourceware.org
> mailing list.
More information about the cfe-commits