Mail Archives: djgpp/1998/06/07/19:30:28
ClarksScr wrote:
>
> I'm new to the DJGPP Compiler and am having trouble trying to get it to
> compile. When I try to compile an example file that I got from a website, It'll
> state this:
>
> cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC__MINOR__=7 -Dunix -Di386 -DGO32
> -DMS DOS -D__unix -D__i386 -D__GO32 -D__MSDOS -D__unix__ -D__i386__ -D__GO32__
> -D__MSDOS__ -Asystem(unix) -Asystem(msdos) -Amachine(i386) -vesa.c
> C:\DOS\ccbaaaaa
> 16-bit DPMI unsupported
>
> I have a Pentium 133 processor. OS version is DOS 6.2 I have Windows 3.1 but am
> not in windows. What is the problem with DMPI? How can I get the DMPI into
> 32-bit? Can anyone tell me?
The only reason you might be getting an error message like that is if an
executable from some other compiler is getting run instead of one of the
core DJGPP compiler programs. The most common cause is if there's a
'make.exe' somewhere in your PATH before the DJGPP 'make.exe'.
16-bit DPMI is used by some older compilers like Borland in order to
maintain backwards compatibility with 80286 systems. Since DJGPP
requires 32-bit DPMI, it can only run on 80386 or higher CPUs.
Unfortunately, the current DPMI standard does not allow mixing of 16-bit
and 32-bit modes simultaneously, so you _cannot_ spawn programs of one
type from programs of the other. There is no solution to this problem.
Check your PATH to see where the conflict might be. I recommend putting
the DJGPP 'bin' directory in the PATH before the 'bin' directories of
any other compilers that may exist on your system.
--
---------------------------------------------------------------------
| John M. Aldrich | "Waking a person unnecessarily |
| aka Fighteer I | should not be considered a capital |
| mailto:fighteer AT cs DOT com | crime. For a first offense, that |
| http://www.cs.com/fighteer | is." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -