From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: GCC can't find the INCLUDE files. (Ed de Saegher) Date: 1 Mar 1997 15:03:04 GMT Organization: Oxford University Lines: 28 Message-ID: <5f9gf8$rtn@news.ox.ac.uk> References: <3314C871 DOT 33B4 AT boe00 DOT bowiestate DOT edu> <5f9eq7$jj7$1 AT news DOT Zwolle DOT NL DOT net> NNTP-Posting-Host: mc31.merton.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Ed de Saegher (Edde DOT Saegher AT net DOT HCC DOT nl) wrote: : Mike Loll 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! : 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 !!!! Read the file in C:\DJGPP called README.1ST - it's called that for a reason. It mentions two things you should do to your AUTOEXEC.BAT - if you don't want these in the AUTOEXEC.BAT you can put them in a separate batch file, but make sure you do make both of the changes. If you've already made these changes, please temporarily add '-v' to your gcc command line and post the output. -- George Foot Merton College, Oxford.