Date: Wed, 29 May 1996 11:56:59 +0200 (IST) From: Eli Zaretskii To: djgpp AT delorie DOT com Subject: Re: GCC Error Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 28 May 1996, Mark Mokris wrote: > I fixed my C_INCLUDE_PATH problem, but now on my first compile I get: > > gcc.exe: installation problem, cannot exec `as': No such file or > directory (ENOENT) That means that gcc is looking for "as.exe", which is the assembler it needs to run to generate a .o object file, but it can't find it. This and your previous message suggest that your DJGPP environment variable is set incorrectly. If you fixed the problem with include files by setting C_INCLUDE_PATH from the DOS prompt, you didn't fix the real problem. To solve all such problems, you need to set DJGPP variable to point to the file called DJGPP.ENV in your main DJGPP installation directory, like this: set DJGPP=c:/djgpp/djgpp.env The above statement should be in your AUTOEXEC.BAT; if you put DJGPP in a directory other than c:/djgpp, change the setting accordingly. And make sure that directory indeed includes a file named `djgpp.env'. If all of the above doesn't help, post the contents of your environment (from the DOS prompt type "set > env.lst" and post the file `env.lst').