From: garehbuxton AT bournemouth-net DOT co DOT uk (Galik) Newsgroups: comp.os.msdos.djgpp Subject: Re: Help Please Date: Wed, 20 Oct 1999 21:04:40 GMT Organization: Mutopia City Message-ID: <380e2e0b.2915069@news.valhalla.net> References: X-Newsreader: Forte Free Agent 1.11/32.235 X-Original-NNTP-Posting-Host: 212.158.59.66 Lines: 42 NNTP-Posting-Host: mars.valhalla.net X-Trace: 20 Oct 1999 21:59:29 GMT, mars.valhalla.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 20 Oct 1999 17:16:19 +0000, Seshu wrote: >Hi, > I've installed the djgpp compiler using unzip32.exe and try to run a >typical hello world program but the program wouldn't compile. I thought >there must be something wrong in my installation. I installed it once more >but to no use. I get these following errors. > >gxx main.cc >gxx.exe: installation problem, cannot exec `cpp': No such file or >directory (ENOENT) > >gcc main.cpp >gcc.exe: installation problem, cannot exec `cc1plus': No such file or >directory (ENOENT) > > >Can anyone help please. >Thanks >Seshu > > > > 3. After unzipping all the zip files, set the DJGPP environment variable to point to the file DJGPP.ENV in the main DJGPP installation directory and add its BIN subdirectory to your PATH. Assuming your DJGPP installation is rooted at C:\DJGPP, put these two lines into your autoexec.bat file: set DJGPP=C:\DJGPP\DJGPP.ENV set PATH=C:\DJGPP\BIN;%PATH% Have you done this? BTW it's best to put some info in the Subject rather than 'Help Please' so people who understand a particular problem will recognise it :) - Galik