[PATCH] [libc++] Support newlib as libc++'s C library

JF Bastien jfb at chromium.org
Fri Jan 24 09:04:11 PST 2014


Ping, is there any interest in allowing libc++ to work properly with newlib?


On Fri, Jan 3, 2014 at 3:37 PM, JF Bastien <jfb at chromium.org> wrote:

> Ping (+Howard).
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140124/837d25cc/attachment.html>


More information about the cfe-commits mailing list