Mail Archives: djgpp/2000/04/21/04:57:03
> From: "Paul Edwards" <bin_kicker AT hotmail DOT com>
> Date: Thu, 20 Apr 2000 18:06:10 GMT
>
> I am trying to compile a simple c++ program, the infamous "Hello World"
> program. However, when I try to compile the file, by typing:
>
> gcc -o hello.exe hello.cc
>
> the message I get is:
>
> Loader Error (0025): cannot initialise.
This is a telltale sign of a Borland cpp.exe sitting on your PATH
before DJGPP's version. (GCC finds it first and tries to run it
instead of its own cpp.exe, but Borland's cpp is a 16-bit DPMI program
that cannot run under 32-bit DPMI programs such as gcc.exe.)
Solution: change your PATH so that DJGPP's bin subdirectory appears
before Borland's.
- Raw text -