Mail Archives: djgpp/1997/03/13/12:07:49
On Thu, 13 Mar 1997, Stefano Brozzi wrote:
> But now I've tried to compile the JPEG 6a ditribution.
> It compiles fastly, without warns, but its large EXEs hang my dos box,
> without any message
Does the distribution you used support MSDOS/DJGPP? Or did you compile
the original Unix sources? If there's no DJGPP support, chances are you
are producing a program that has bugs on MSDOS.
Are you invoking the .exe program or the one without an extension?
Please make sure that the executable that you invoke has "MZ" magic
signature as its first 2 bytes.
> I've read about a buggy DPMI, but I have no idea how to disable it in a
> dos box
You can't, and you shouldn't bother, as Windows 95 is not one of the
buggy DPMI hosts that should be turned off.
> CWSDPMI complains about ...
>
> e:\djgpp\bin>cwsdpmi.exe
> Protected mode not accessible.
That is OK. You cannot run CWSDPMI inside Windows' DOS box. Windows
itself serves as your DPMI host, so CWSDPMI is not even loaded by DJGPP
programs.
> due to large EXE size, I've tried to use PKLITE.EXE, an EXE
> compress-but-execute program available at simtel in msdos/execomp/.
Don't use PKLITE with DJGPP programs, it doesn't know about the special
format of DJGPP .exe files. DJGPP has its own exe compressor
(v2misc/mlp105b.zip from the same place you get DJGPP).
- Raw text -