www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/11/10:30:38

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 <brozzis AT mag00 DOT cedi DOT unipr DOT it>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Subject: JPEG OK, one more question

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

- Raw text -


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