home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
GRAPHICS
/
JPEGSRC.V4.lzh
/
readme.osk
< prev
next >
Wrap
Text File
|
1993-01-14
|
1KB
|
35 lines
93/01/15
I ported version 4 of the Independent JPEG Group's software to OSK. It runs
noticably faster than version 3.
I created a new makefile called makefile.osk which was based on the
makefile.ansi that was supplied with the source.
I used gcc and blarslib.l. I think cc would probably work, but would need
makefile.unix as a base since cc doesn't understand ansi function declarations.
I changed several things in the makefile such as the .o extensions to .r, and
the section to build jpeglib.l. I also put all the necessary defines in the
makefile so I wouldn't have to change the source code much.
Since OS-9 uses CR for a line terminator, I had to add some code to jwrppm.c
and jrdppm.c to use /l instead of /n. This code is surrounded by #ifdef OSK
#endif blocks.
I had to make an empty file in /dd/defs called stdlib.h since almost every
source file tries to include it. I found this easier than finding all the
references and commenting them out.
My v7make insists on using -r to tell the compiler not to link. This is what
cc expects, but gcc wants -c. I fixed this problem with DeD.
When this was done, I just copied makefile.osk to makefile and typed v7make.
As I've built them, the executables create temporary files in /dd/temp. This
can be changed in the makefile.
Robert Marsa
ravenone@ccwf.cc.utexas.edu