Date: Sat, 21 Dec 1996 15:48:29 +0100 (MET) From: Miguel Murillo To: Gregg Foti cc: djgpp AT delorie DOT com Subject: Re: New C Programmer Problem In-Reply-To: <32B9BAC8.5C26@bc.cybernex.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ------------------------- > 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 >