cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/02/22:46:26

From: afn03257 AT freenet2 DOT afn DOT org (Daniel P Hudson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help: Problem with DJGPP/GCC
Date: 3 Feb 1997 01:12:01 GMT
Lines: 24
Message-ID: <5d3e11$oa7@huron.eel.ufl.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970202111701 DOT 23888c-100000 AT is>
Reply-To: afn03257 AT afn DOT org"Dan"
NNTP-Posting-Host: freenet2.afn.org
NNTP-Posting-User: afn03257
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019