Sender: brozzis AT mag00 DOT cedi DOT unipr DOT it Message-Id: <334E4608.4B88@mag00.cedi.unipr.it> Date: Fri, 11 Apr 1997 16:09:12 +0200 From: Stefano Brozzi Mime-Version: 1.0 To: djgpp AT delorie DOT com Subject: JPEG OK, one more question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ok, I had a problem a couple of weeks ago compiling Thomas Lane's JPEG Distribution with DJGPP. Thanks to all who answered to my questions,in particular the Omniscient Eli. If someone is interested in compiling it, he could follow instructions or blindly do the next few operations: copy makefile.dj makefile copy jconfig.dj jconfig.h make not so hard ! It works perfectly, if someone is interested here are some speed comparisons: on a 150k image: DJGPP 2.1 BORLAND 4.5 djpeg 0.94 2.08 cjpeg 0.93 2.53 [sec] My problem was due to the fact that something was (probably) messed up in the source code, and that the preprocessor instruction TWO_FILE_COMMANDLINE is defined in the Borland C version (the once I used) and undefined in the DJGPP version (and behaviour consequently different) The programs generated work, but if run without arguments they locks up the computer. They're expecting input from stdin, isn't CTRL-C, CTRL-Break supposed to work ? Even 'grep' if run without file specification locks up the dos box. Am I missing something ? An happy user Stefano