delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/01/18:21:26

From: Edde DOT Saegher AT net DOT HCC DOT nl (Ed de Saegher)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GCC can't find the INCLUDE files. (Ed de Saegher)
Date: Sat, 01 Mar 1997 14:36:08 GMT
Organization: NLnet
Message-ID: <5f9eq7$jj7$1@news.Zwolle.NL.net>
References: <3314C871 DOT 33B4 AT boe00 DOT bowiestate DOT edu>
Reply-To: Edde DOT Saegher AT net DOT HCC DOT nl
NNTP-Posting-Host: asp99-25.amsterdam.nl.net
Lines: 40
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mike Loll <e5rs010 AT boe00 DOT bowiestate DOT edu> wrote:

>Whenever I try and compile a program ( a simple Hello World type program
>) GCC says it can't find the include file(s).  Am I doing something
>wrong here?  Do I need some sort of config file?   I checked DJGPP.ENV
>and it showed the include directory as /include ( my directory for djgpp
>is C:\DJGPP)  Any help is welcome.  Thanks!


>--
>"I hate quotations"	
>"There is no knowledge that is not power"
>					-- Ralph Waldo Emerson
>Mike Loll 			
>e5rs010 AT boe00 DOT bowiestate DOT edu

Mike , I have the same problem , I think.

When I try to compile the simple  "Hello.c " - pgm.
In directory c:\dgjpp\bin I type:
gcc -d c:\dgjpp\samples\hello\hello.c
I get the message "stdio.h : file not found"
In directory c:\dgjpp\include there is a file stdio.h   !!!!

Listing of the hello.c pgm (in directory c:\dgjpp\samples\hello)  :

#include <stdio.h>

Ed de Saegher
Westknollendam
Nederland

main()

{
         printf("Hello, world"\n);
}



- Raw text -


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