This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No include path in wich to find stdio.h



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]