[cfe-dev] C Standard Library

Richard Pennington rich at pennware.com
Tue Dec 21 13:04:22 PST 2010


On 12/21/2010 01:12 PM, Antony Vennard wrote:
> Hi All,
>
> I am aware of the libcxx project providing a standard library for C++
> for use with clang. Is there an equivalent project for C? I guess I
> could take headers like "cstdio" and rename them to "stdio.h" but I
> didn't think that would necessarily be the right approach.
>
> The reason I ask is that I have built clang/llvm (2.8) for Win64 and am
> looking for the remaining parts to complete a C/C++ development
> environment. I have a half-finished NSIS install script (happy to donate
> it to the project) you see and I'd like to be able to package clang/llvm
> for win64 distribution.
>
> Not sure if this isn't better suited to llvm-users, so sorry if it is.
>
> Thanks,
>
> Antony

Antony,

Funny you should mention C libraries. I'm on vacation from my day job 
until January 4th. and have just begun to port the NetBSD standard 
library for use with Clang. I'm targeting Linux and embedded platforms, 
however, so I don't think it would be of much use under Windows.

I'm pretty sure MinGW just provides headers and uses the standard MS C 
runtime library, at least without MSYS. That would probably be a good 
place for you to start.

-Rich



More information about the cfe-dev mailing list