This is a port of dcraw to MSDOS/DJGPP. 1.: DJGPP specific changes. ======================= The DJGPP specific changes fixes a pair minor issues: - inclusion of for setmode declaration and the use of fgetc instead of getc_unlocked. - modifications of the install shell script to make it more usable and comfortable on non posix OS. As for all binaries and libraries that handle images of any kind, it should be noticed that files (streams) are *always* openend in binary mode with all the well known implications on a DOS/WINDOWS OS if the stream is connected to STDIN and/or STDOUT when these are still connected to the console. As usual the changes to the original code have been documented in a diffs file stored in the /djgpp subdir. To compile from sources this binary you will have to install the jpeg or ljpeg and lcms libraries. Please *read* the docs to become familiar with product. 2.: Installing the binary package. ============================== 2.1.: Copy the binary distribution into the top DJGPP installation directory, just unzip it preserving the directory structure running *ONE* of the following commands: unzip32 dcrw853b.zip or djtarx dcrw853b.zip or pkunzip -d dcrw853b.zip 3.: Building the binaries from sources. =================================== 3.1.: Create a temporary directory and copy the source package into the directory and just unzip it preserving the directory structure running *ONE* of the following commands: unzip32 dcrw853s.zip or djtarx dcrw853s.zip or pkunzip -d dcrw853s.zip 3.2.: To build the binaries you will need the following binary packages: djdev203.zip (or a later but NOT a prior version) bsh204b.zip (or a later but NOT a prior version) gccNNNb.zip, gppNNN.zip, bnuNNNb.zip, makNNNb.zip, filNNNb.zip, shlNNNb.zip, txtNNNb.zip, txiNNNb.zip, grepNNNb.zip, sedNNNb.zip. NNN represents the latest version number of the binary packages. All this packages can be found in the /v2gnu directory of any ftp.delorie.com mirror. You will need bsh204b.zip or later and *NOT* a prior version or the build will fail. The same applies to djdev203.zip. 3.3.: To compile and install the package run from the top srcdir the command: sh install z:/some/place .exe Both parameters are *optinal*. The first parameter is the prefix that determinates the directory where the program will be installed. If omitted it will default to /dev/env/DJDIR. The second parameter determinates the exe extension. If omitted it will default to .exe. Omitting both is certainly the best choice for a standard djgpp installation. Send dcraw specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel