home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / GRAPHICS / jpegsrc.v3.lzh / readme.osk < prev    next >
Text File  |  1992-07-05  |  1KB  |  35 lines

  1. 92/07/03
  2.  
  3. I ported the independent JPEG group's software to OS-9 on a 3 Meg MM/1.  I
  4. think it should run fine on any OS-9/68000 system, however.
  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.
  14.  
  15. I used jmemname.c for jmemsys.c since none of my libraries have tmpname().
  16. In this file, I set TEMP_DIRECTORY to "/dd/temp" since that is where I want
  17. temporary files on my system.  I left DEFAULT_MAX_MEM at 1 Meg.
  18.  
  19. Since OS-9 uses CR for a line terminator, I had to add some code to jwrppm.c
  20. and jrdppm.c to use /l instead of /n.  This code is surrounded by #ifdef OSK
  21. #endif blocks.
  22.  
  23. I had to make an empty file in /dd/defs called stdlib.h since almost every 
  24. source file tries to include it.  I found this easier than finding all the
  25. references and commenting them out.
  26.  
  27. My v7make insists on using -r to tell the compiler not to link.  This is what
  28. cc expects, but gcc wants -c.  I fixed this problem with DeD.
  29.  
  30. When this was done, I just copied makefile.osk to makefile and typed v7make.
  31.  
  32. Robert Marsa
  33. ravenone@ccwf.cc.utexas.edu
  34.  
  35.