From: apr AT xs4all DOT nl (Ane Roos) Newsgroups: comp.os.msdos.djgpp Subject: Re: New C Programmer Problem Date: Fri, 20 Dec 1996 15:21:56 +0100 Organization: XS4ALL, networking for the masses Lines: 39 Message-ID: References: <32B9BAC8 DOT 5C26 AT bc DOT cybernex DOT net> NNTP-Posting-Host: xs2.xs4all.nl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <32B9BAC8 DOT 5C26 AT bc DOT cybernex DOT net>, 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". [snip] > >I have installed the following in my autoexec.bat: > set djgpp=c:\djgpp\djpp.env > set path=%path%;c:\djgpp\bin Check your spelling (stdio/studio,djgpp/djpp/digpp). A small test leading to the error you get: C:\DC\YR>set DJGPP=e:/mcc/dgpp.env C:\DC\YR>acd cp E:\CP>gcc -Wall rot13.c rot13.c:1: stdio.h: No such file or directory (ENOENT) E:\CP>set DJGPP=e:/mcc/djgpp.env E:\CP>gcc -Wall rot13.c E:\CP> -- Ane Roos | Nice,nice,very nice-- | Calypso 53, apr AT xs4all DOT nl | So many different people | The Book of Bokonon, | In the same device. | - Kurt Vonnegut