From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP Error Date: Mon, 20 Apr 1998 14:33:17 -0400 Organization: Cornell University (http://www.cornell.edu/) Lines: 27 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <353B94ED.A1C70FC0@cornell.edu> References: <6hfsu1$7us$1 AT o DOT online DOT no> NNTP-Posting-Host: cu-dialup-2311.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sten Karsten Vartdal wrote: > > Hi, I'm trying to compile a program with DJGPP, but get this error: > > gcc.exe: installation problem, cannot exec `cpp': No such file or > directory (ENOENT) did you read README.1ST? > I have downloaded and unziped the required files, the program is: > > void main { > return 0 > } > > What is wrong? this is not the source of your problem, but why (wrongly) declare main as _not_returning a value, and then return a value? did you make sure to preserve the directory structure when unzipping files? did you make sure the environment variable djgpp points to where the djgpp.env files is? -- Sinan