Mail Archives: djgpp/1997/02/02/22:46:26
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>On Fri, 24 Jan 1997, David Lindberg wrote:
>> I recently downloaded the DJGPP 2.0 version of gcc. In DOS I started
>> CWSDPMI, and tried to compile a simple C++ program. The error
>> message I got back from gcc was "16-bit DPMI unsupported". Does
>> anyone know what the problem is? I am using MSDOS 6.20 on a 586
>> machine.
>Most probably, you have another program called cpp.exe on your PATH
>before the DJGPP's bin subdirectory. Change the order of the
>directories on your PATH and you should be fine.
This is exactly what causes this problem. Whatever you do, don't try to
set-up another compiler in the same path as GCC. Generally BC/TC
doesn't use cpp, but rather an internal preprocessor. However, you
should test this by compiling a program with the compiler after renaming
its copy of cpp, ie ren cpp.ece tcpp.exe, before deleting, or you
can just leave it renamed if you like. I wonder, is it possible to
get the ENV file to have entried for programs like this to it to prevent
path mix-up's in the future?
- Raw text -