Xref: news2.mv.net comp.os.msdos.djgpp:7984 From: "John M. Aldrich" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: | | play Descent 2 on DWANGO! | Tagline: | --------------------------------------------------------------------------