Mail Archives: djgpp/1997/04/11/10:30:38
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 -