delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/03/12:13:57

Date: Mon, 3 Jan 2000 10:53:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "A. Jans-Beken" <jansb000 AT wxs DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: Problem make-ing ALLEGRO
In-Reply-To: <38701CD2.B91130E@wxs.nl>
Message-ID: <Pine.SUN.3.91.1000103105342.14725I@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 2 Jan 2000, A. Jans-Beken wrote:

> GCC_EXEC_PREFIX=c:\mw95\lib\gcc-lib\

This setting is your problem: it belongs to Mingw, not to DJGPP.  What
it does is to force the compiler to look in the named directory for
all the compiler passes it invokes, like cpp.exe, cc1.exe,
cc1plus.exe, etc.

You need to remove this variable from the environment when compiling
with DJGPP.  The easiest way of working with two or more versions of a
compiler is to have several batch files, one each for every compiler
version, that set up environment as appropriate for each compiler.  On
Windows, you can set up a shortcut to a DOS box that runs an
appropriate batch file automatically.

> gcc.exe: installation problem, cannot exec `cpp': No such file or
> directory (ENOENT)

Since GCC_EXEC_PREFIX is set incorrectly, GCC doesn't find cpp.exe,
the preprocessor.

- Raw text -


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