Mail Archives: djgpp/2000/04/25/08:37:15
Eli Zaretskii <eliz AT delorie DOT com> wrote:
>> From: "Paul Edwards" <bin_kicker AT hotmail DOT com>
[...]
>> Loader Error (0025): cannot initialise.
> This is a telltale sign of a Borland cpp.exe sitting on your PATH
> before DJGPP's version.
[...]
> Solution: change your PATH so that DJGPP's bin subdirectory appears
> before Borland's.
That solution has a drawback, though: now Borland's compiler will
probably choke. Not because of DJGPP's cpp.exe (it doesn't use
standalone cpp, IIRC), but because of DJGPP's make.exe shadowing their
make.exe in the PATH.
A better solution thus is to make sure that at any time, only *one*
compiler package is in the PATH. Depending on whether you're using DOS
or Windows, you can either have a series of batch files that set up
and delete the environment variables, including PATH, for each
compiler, and switch back and forth by calling one of them; or you can
set up separate DOS-box shortcuts in Windows, each with a different
startup batch file.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -