Mail Archives: djgpp/2000/01/03/12:13:57
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 -