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

Reid Kleckner rnk at google.com
Fri Jan 24 14:19:41 PST 2014


+Marshall Clow


On Fri, Jan 24, 2014 at 9:04 AM, JF Bastien <jfb at chromium.org> wrote:

> 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.
>>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140124/d8515322/attachment.html>


More information about the cfe-commits mailing list