delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/08/03:48:59

Date: Thu, 8 Jan 1998 10:48:29 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Steve <Strange AT loop DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Wierd errors? Installation problem: cannot exec cpp no such file or dir (ENOENT)
In-Reply-To: <34B3E2DA.CB832613@loop.com>
Message-ID: <Pine.SUN.3.91.980108104808.8789I-100000@is>
MIME-Version: 1.0

On Wed, 7 Jan 1998, Steve wrote:

> Somevody please help - I followed the stupid directions completely
                                        ^^^^^^
Do you really think that calling the instructions ``stupid'' will give
people motivation to help you?

> and Im getting wierd errors everytime i try to compile & link,
> "gcc.exe : Installation problem: cannot exec cpp no such file or dir
> (ENOENT)" what the heck does that mean?

The message is IMHO self-explaining: it says that gcc.exe cannot find
cpp, the pre-processor, that it needs to run as part of compilation.

Possible reasons:

  1) You didn't unzip preserving the directory structure (with
     PKUNZIP, use the -d switch).  Solution: unzip again.

  2) You didn't set the DJGPP environment variable.  Type this from
     the DOS prompt:

	 set djgpp=c:\djgpp\djgpp.env

     (If you installed DJGPP in a directory other than c:\djgpp,
     change that line accordingly.)  Then try again and see if this
     helps.

If none of the above works, add -v to the gcc command line and post
here everything that it prints.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019