Mail Archives: djgpp/1999/04/02/02:43:58
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 -