delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/11/06:52:09

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Please help...
Date: Thu, 10 Oct 1996 20:50:04 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 25
Message-ID: <325DC3EC.58B4@cs.com>
References: <ECS9610102149A AT unix DOT york DOT ac DOT uk>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: John <jgp100 AT york DOT ac DOT uk>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

John wrote:
> 
> Sorry to bother everyone, but can somebody please, please, please help me with the installation of DJGPP on my P.C.
> 
> I've installed all the correct files from the .zip's I think (as in the FAQ - which I HAVE read). I've set the environment
> variables correctly (from the FAQ again) but everytime I try to invoke the compiler I get a message saying 'Sorry can't
> compile 16-bit apps' or something like that... Does anyone out there know what I'm doing wrong?

You have programs from a Borland C compiler in your PATH before the
djgpp files.  When you compile, these programs are run instead of the
djgpp programs, and since they run in an incompatible DPMI mode, you get
the 'Can't run 16-bit apps' error.

Either move the DJGPP\BIN directory to the front of your PATH, or remove
the Borland directory (and preferably the Borland files :) ) altogether.

BTW, the FAQ (v2/faq201b.zip) mentions this problem in section 6.7
("Make crashes...").

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| Plan:  To find ANYONE willing to |   http://www.cs.com/fighteer   |
| play Descent 2 on DWANGO!        | Tagline: <this space for rent> |
---------------------------------------------------------------------

- Raw text -


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