This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: No include path in wich to find stdio.h
- From: "Sisyphus" <sisyphus1 at optusnet dot com dot au>
- To: "Lopezio" <geral at mariolopes dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Wed, 30 Apr 2008 19:26:08 +1000
- Subject: Re: No include path in wich to find stdio.h
- References: <16961283.post@talk.nabble.com> <16978226.post@talk.nabble.com>
----- Original Message -----
From: "Lopezio" <geral@mariolopes.com>
.
.
When i run gcc - v ola.c I get
#include "..." search starts here:
End of search list
The search don't detects the folder include where stdio.h resides.How can
i
solve this problem (WiNXp)?
With the MinGW (win32 port) of gcc, one can specify additional headers
search paths in the CPATH environment variable:
set CPATH=D:\wherever;D:\somewhere\else
Similarly, the search path for additional libraries can be set using the
LIBRARY_PATH environment variable.
I don't know if the same works for DJGPP, but I guess it's something to try.
I would have thought that the standard headers would have been found by
default, without the need for you to take any additional action. I'm
therefore wondering if you've installed DJGPP correctly ... but, as I don't
use DJGPP, that's all speculation on my part :-)
Cheers,
Rob