[cfe-dev] c libraries implementation

James Gregurich bayoubengal at mac.com
Thu Oct 10 12:16:49 PDT 2013


Out of curiosity, how does clang determine what standard C libraries and headers to use during a build? Is that documented anywhere? I did a quick google search to see I saw that mechanism discussed, I don't see a good document coming up on the topic.
 
-James


On Oct 10, 2013, at 11:30 AM, Yaron Keren <yaron.keren at gmail.com> wrote:

> FreeBSD has lots of good code.
> MUSL http://www.musl-libc.org/ is another library with BSD/MIT license.
> MingW has Windows specific code usually in the public domain.
> 
> 
> 
> 2013/10/10 David Chisnall <David.Chisnall at cl.cam.ac.uk>
> On 10 Oct 2013, at 17:03, Constantinos <conon246 at gmail.com> wrote:
> 
> >    Thanks, are any plans for a libc implementation as a llvm sub project? if any i will be glad to help on my free time.
> 
> There are existing open source, permissively licensed, libc implementations.  Derivatives of FreeBSD libc are used on Darwin (iOS / OS X), some OpenSolaris derviatives and Android.  NetBSD and OpenBSD also have their own libc implementations that occasionally share code.
> 
> We welcome contributors to FreeBSD libc, if you want to work on a C standard library implementation...
> 
> David
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131010/8e6ead2b/attachment.html>


More information about the cfe-dev mailing list