Mail Archives: djgpp/1996/12/20/09:05:38
On Thu, 19 Dec 1996, Gregg Foti wrote:
> 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>
^^^^^^^^^^^^^^^^^^^^
stdio.h -------------------------
> main() |
> { |
> printf("whatever"); |
> } |
> V
> My error message is "exam.c:1: c:\digpp\studio.h: no such file or
truely different stdio.h
> 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 -