Date: Thu, 13 Mar 1997 18:57:29 +0200 (IST) From: Eli Zaretskii To: Stefano Brozzi cc: djgpp AT delorie DOT com Subject: Re: error executing In-Reply-To: <3328299D.3E24@mag00.cedi.unipr.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).