home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / GRAPHICS / JPEGEXEC.V4.lzh / readme.osk < prev   
Text File  |  1993-01-14  |  1KB  |  35 lines

  1. 93/01/15
  2.  
  3. I ported version 4 of the Independent JPEG Group's software to OSK.  It runs
  4. noticably faster than version 3.
  5.  
  6. I created a new makefile called makefile.osk which was based on the
  7. makefile.ansi that was supplied with the source.
  8.  
  9. I used gcc and blarslib.l.  I think cc would probably work, but would need
  10. makefile.unix as a base since cc doesn't understand ansi function declarations.
  11.  
  12. I changed several things in the makefile such as the .o extensions to .r, and
  13. the section to build jpeglib.l.  I also put all the necessary defines in the
  14. makefile so I wouldn't have to change the source code much.
  15.  
  16. Since OS-9 uses CR for a line terminator, I had to add some code to jwrppm.c
  17. and jrdppm.c to use /l instead of /n.  This code is surrounded by #ifdef OSK
  18. #endif blocks.
  19.  
  20. I had to make an empty file in /dd/defs called stdlib.h since almost every 
  21. source file tries to include it.  I found this easier than finding all the
  22. references and commenting them out.
  23.  
  24. My v7make insists on using -r to tell the compiler not to link.  This is what
  25. cc expects, but gcc wants -c.  I fixed this problem with DeD.
  26.  
  27. When this was done, I just copied makefile.osk to makefile and typed v7make.
  28.  
  29. As I've built them, the executables create temporary files in /dd/temp.  This
  30. can be changed in the makefile.
  31.  
  32. Robert Marsa
  33. ravenone@ccwf.cc.utexas.edu
  34.  
  35.