Mail Archives: djgpp/1998/09/30/23:08:13
tbelius AT algonet DOT se wrote:
>
> I have downloaded and installed djgpp and i have a problem:
>
> When i tried to compile this c prog:
> #include <stdio.h>
>
> void main()
> {
> printf("TEST\n");
> }
>
> with command line
>
> gcc test.c -o mytest.exe
>
> i get the error message "No include path in witch to find stdio.h". I
> have treid every thing in the fqa. What is the problem?
Is your DJGPP environment variable set correctly? See README.1ST about
it. Otherwise, see FAQ section 6.16 for what details to post to help
others figure out what's wrong.
Oh, and incidentally, ANSI requires that the return type of `main' be
`int'; it should return 0 on success.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -