Mail Archives: djgpp/1997/03/01/18:20:26
Ed de Saegher (Edde DOT Saegher AT net DOT HCC DOT nl) wrote:
: 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!
: 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 <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.
- Raw text -