[cfe-dev] fatal error: 'cstdio' file not found

John McCall rjmccall at apple.com
Mon Jul 19 23:46:21 PDT 2010


On Jul 19, 2010, at 11:31 PM, Sebastian Redl wrote:
> On 07/19/2010 11:10 PM, Michael Spencer wrote:
>> 
>> Since the headers are part of the gcc distribution, why not just ask
>> gcc at run-time? It Just Works (tm).
>> 
> We can't exactly afford to add the overhead of launching GCC to every
> Clang invocation just to find out where it hides its header files.

We could, however, have some sort of configuration file in $prefix/share/clang
(or wherever).  configure could write a default configuration based on the host,
and anybody moving binaries between different setups probably deserves
what they get.

John.



More information about the cfe-dev mailing list