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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message ----- From: "Lopezio" <geral@xxxxxxxxxxxxxx>
.
.
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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux