Mail Archives: djgpp/1996/12/19/17:09:53
Hi,
I am a new C programmer (student where it is my responsiblity to aquire
C compiler.
I have experience in programming compiling languages, dos, and windows.
I am trying to compile a very simple C program (my first).
My computer uses windows 95. I am trying to run "gcc" under DOS. I
believe I have unzipped the programs properly for "C".
My program is:
#include <stdio.h>
main()
{
printf("whatever");
}
My error message is "exam.c:1: c:\digpp\studio.h: no such file or
directory (ENOENT)"
I do have the file studio.h in my directory(digpp) where I am compiling
from with the command "gcc exam.c."
I have installed the following in my autoexec.bat:
set djgpp=c:\djgpp\djpp.env
set path=%path%;c:\djgpp\bin
I left alone my first set path statement.
I'd appreciate any help that would end my confusion. Thanx.
Gregg Foti
Senior, Thomas Edison State College
- Raw text -