Date: Mon, 3 Jan 2000 10:53:59 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "A. Jans-Beken" cc: djgpp AT delorie DOT com Subject: Re: Problem make-ing ALLEGRO In-Reply-To: <38701CD2.B91130E@wxs.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.