www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/28/21:03:35

Xref: news2.mv.net comp.os.msdos.djgpp:7984
From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with DJGPP
Date: Wed, 28 Aug 1996 18:33:00 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 30
Message-ID: <3224F34C.5878@cs.com>
References: <501kur$s4u AT centre DOT univ-orleans DOT fr>
NNTP-Posting-Host: ppp225.cs.com
Mime-Version: 1.0
To: Michel DOT Braunwarth AT univ-orleans DOT fr
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Michel Braunwarth wrote:
> 
> Hello
> 
> I am trying to compile psutils of Angus J. C. Duggan with djgpp.
> I installed it, following the instructions of
> http://remus.rutgers.edu/~avly/djgpp.html
> 
> If I compile the programs in a Win 3.11 box, I get the following error :
> Loader error (025) : cannot initialize
> 
> If I compile the programs in DOS, cwsdpmi.exe says that gcc is a 16-bits
> app !

This error is almost always caused by having a 16-bit version of gcc
somewhere in your PATH before DJGPP's gcc.  Do you have Borland C/C++
installed on your computer?  If so, either remove its bin dir from your
PATH or put DJGPP's bin dir before the Borland one.  A fundamental
problem with DPMI is that you simply cannot mix 16-bit and 32-bit DPMI
apps.

BTW, the FAQ does describe this problem, in section 6.7.  Make sure you
have the latest version (v2/faq201b.zip).

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

- Raw text -


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