delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/30/23:08:13

Sender: nate AT cartsys DOT com
Message-ID: <3612F03E.B41AF486@cartsys.com>
Date: Wed, 30 Sep 1998 20:00:14 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: tbelius AT algonet DOT se
CC: djgpp AT delorie DOT com
Subject: Re: Help on djgpp gcc
References: <360e7281 DOT 4329459 AT news DOT algonet DOT se>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019