[cfe-dev] C Standard Library

Douglas Gregor dgregor at apple.com
Tue Dec 21 11:19:13 PST 2010


On Dec 21, 2010, at 11:12 AM, 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?

To my knowledge, there is no such project. Clang aims to work with the system C library on a variety of platforms.

> 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.

No, that won't work; most <cstdio> implementations are just wrappers around <stdio.h>.

> Not sure if this isn't better suited to llvm-users, so sorry if it is.

This is the right place for this question.
	- Doug



More information about the cfe-dev mailing list