Mail Archives: djgpp/1995/11/03/16:37:48
hello folks,
I'm new to this forum so forgive me if I end up asking alot of newbie
type gnu questions.
I just finished installing the base gnu C-compiler files onto my
computer and have run into a problem. Let me give you the situation. I
wanted to find a free C-compiler to compile programs in DOS so I went
to the simtel archives and looked for the djgpp package. I fetched the
following files:
gnu252bn.zip
djdev112.zip
djdoc112.zip
djeoe112.zip
gcc263bn.zip
dj112m1.zip
dj112m2.zip
dj112m3.zip
dj112m4.zip
The readme.1st file said that these were the minimum files for
download to do compiles. Okay, so I downloaded them and unzipped them
in order, running the maintenance release batch files after unzipping
them. I then edited my autoexec.bat and config.sys as it said in the
readme.doc file in the docs/djgpp subdirectory. I then went to the
samples/hello directory and ran the tryit.bat file to compile the
hello.c file.
This is where my error occurs. When compiling, I get this error
"hello.c:1: stdio.h: file not found"
For some reason, the compiler can't find my stdio.h library. I added
c:\djgpp\include to my path, but that still didn't work. Can anyone
help me to get this working?
Daniel
- Raw text -