www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/02/02:43:58

Date: Fri, 2 Apr 1999 09:40:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Sunil V <sunilv AT accord-soft DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Load Error (with more data)
In-Reply-To: <370223E7.F1E5BEDF@accord-soft.com>
Message-ID: <Pine.SUN.3.91.990402092936.22974M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 31 Mar 1999, Sunil V wrote:

> For people who have not read my previous mail:
> When I try to run my program it gives the following error message.
>         Load Error : No DPMI memory.
> The size of my .exe files is 284Kbytes. None of the options are given
> during compilation.

I understand that other DJGPP programs do run on your machine, since you 
have succeeded in compiling your program.

If so, the reason is that your program somehow requests a bogus (too 
large) memory amount for its code and data size.  Perhaps you compiled 
the program with an incorrect command line.  What was the command line 
you used?

Also, if you compile a simple hello world program, does it run or does it 
print the same error message?

> This is what go32-v2.exe prints:
> 
> *****
> go32/v2 version 2.0 built Aug 12 1996 22:27:23

This is from the old v2.01 distribution.  I suggest to upgrade to v2.02, 
sinve 2.01 is no longer maintained.

> The gcc compiler I've downloaded is for windows 95.

What do you mean ``gcc for Windows 95''?  DJGPP doesn't have special 
compilers for each platform, it uses the same compiler binary on all 
systems.  Are you sure you used gcc.exe from gcc281b.zip that is part of 
the DJGPP package?  If you used another compiler, it is very probable 
that the resulting executable will utterly confuse DJGPP.

- Raw text -


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