No include path in wich to find stdio.h

View: New views
4 Messages — Rating Filter:   Alert me  

No include path in wich to find stdio.h

by Lopezio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
When i try to run my first program i get the error No include path in wich to find stdio.h
I installed the djgpp in my drive D and i have one folder include where the file stdio.h is.
I run WinXP system and i changed the path value as
d:\FPC\2.2.0\bin\i386-Win32;D:\DJGPP\BIN;%PATH% (i have free pascal installed too).
How can i solve this problem?
Thank you
mario

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

by Lopezio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Lopezio wrote:
Hi
When i try to run my first program i get the error No include path in wich to find stdio.h
I installed the djgpp in my drive D and i have one folder include where the file stdio.h is.
I run WinXP system and i changed the path value as
d:\FPC\2.2.0\bin\i386-Win32;D:\DJGPP\BIN;%PATH% (i have free pascal installed too).
How can i solve this problem?
Thank you
mario
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)?
Thank you

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

by Sisyphus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


----- Original Message -----
From: "Lopezio" <geral@...>
.
.
> 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


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

by Lopezio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Lopezio wrote:
Hi
When i try to run my first program i get the error No include path in wich to find stdio.h
I installed the djgpp in my drive D and i have one folder include where the file stdio.h is.
I run WinXP system and i changed the path value as
d:\FPC\2.2.0\bin\i386-Win32;D:\DJGPP\BIN;%PATH% (i have free pascal installed too).
How can i solve this problem?
Thank you
mario
Can you believe this? The problem is thar my path should be declared like this
d:\DJGPP\BIN;%PATH%;FPC\2.2.0\bin\i386-Win32
the djgpp before the FPC.