<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>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.</div><div> </div><div>-James</div><div><br></div><br><div><div>On Oct 10, 2013, at 11:30 AM, Yaron Keren <<a href="mailto:yaron.keren@gmail.com">yaron.keren@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="rtl"><div dir="ltr">FreeBSD has lots of good code.</div><div dir="ltr">MUSL <a href="http://www.musl-libc.org/">http://www.musl-libc.org/</a> is another library with BSD/MIT license.</div><div dir="ltr">MingW has Windows specific code usually in the public domain.</div>
<div dir="ltr"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/10/10 David Chisnall <span dir="ltr"><<a href="mailto:David.Chisnall@cl.cam.ac.uk" target="_blank">David.Chisnall@cl.cam.ac.uk</a>></span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10 Oct 2013, at 17:03, Constantinos <<a href="mailto:conon246@gmail.com">conon246@gmail.com</a>> wrote:<br>
<br>
> 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.<br>
<br>
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.<br>
<br>
We welcome contributors to FreeBSD libc, if you want to work on a C standard library implementation...<br>
<br>
David<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>
_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></body></html>