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

Clark Gaebel cg.wowus.cg at gmail.com
Sat Jul 17 16:38:41 PDT 2010


As far as I can see, my headers are in

/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.0/include/g++-v4/

and /usr/include/c++ doesn't even exist.

Just a side note: reinstalling 4.4.4 doesn't fix the problem.

On 07/17/10 11:03, Alexei Svitkine wrote:
> Couldn't it be made to detect the right version by looking at what
> directories exist in /usr/include/c++/ and adding the latest version
> that's found there?
>
> The current hardcoded paths are kind of ridiculous.
>
> -Alexei
>
> On Sat, Jul 17, 2010 at 9:04 AM, Ed Schouten <ed at 80386.nl> wrote:
>   
>> * Clark Gaebel <cg.wowus.cg at gmail.com> wrote:
>>     
>>> 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?
>>>       
>> I'm not sure you can do it without modifying the source, but it should
>> probably be added to InitHeaderSearch.cpp.
>>
>> --
>>  Ed Schouten <ed at 80386.nl>
>>  WWW: http://80386.nl/
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>>
>>     

-- 
Regards,
-Clark




More information about the cfe-dev mailing list