www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/29/05:06:12

Date: Wed, 29 May 1996 11:56:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp AT delorie DOT com
Subject: Re: GCC Error
Message-Id: <Pine.SUN.3.91.960529115629.12693H-100000@is>
Mime-Version: 1.0

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').

- Raw text -


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