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

Clark Gaebel cg.wowus.cg at gmail.com
Sat Jul 17 05:57:41 PDT 2010


Thanks, that found the problem, but I still don't know how to fix it.

It seems that clang is searching through gcc directories. Example:

ignoring nonexistent directory "/usr/include/c++/4.4.3"
ignoring nonexistent directory "/usr/include/c++/4.4.3/x86_64-pc-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.4.3"
ignoring nonexistent directory "/usr/include/c++/4.4.3/i686-pc-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.4"
ignoring nonexistent directory "/usr/include/c++/4.4/x86_64-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4/backward"
ignoring nonexistent directory "/usr/include/c++/4.4"

That goes on for many, many version, however, not gcc 4.5.0 which is the
only non-cross-compiler I have installed right now. How do I add the
4.5.0 paths to the search list?

On 07/17/10 04:58, Ed Schouten wrote:
> * Clark Gaebel <cg.wowus.cg at gmail.com> wrote:
>   
>>   1) How can I get clang to show the header search path? clang++
>> --verbose doesn't seem to work.
>>     
> I often use -v -E for that, so you get a verbose dump from the
> preprocessor.
>
>   

-- 
Regards,
-Clark




More information about the cfe-dev mailing list