home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / libtiff / contrib / dosdjgpp / README < prev   
Encoding:
Text File  |  1999-09-11  |  1.7 KB  |  31 lines

  1.  
  2. This directory contains the files necessary to build the free TIFF library
  3. with the DJGPP v2 compiler under MSDOS. Since DJGPP defines the unix flag,
  4. I have created a port.h instead of putting the necessary defines into
  5. tiffcomp.h. Makefiles are included for the top level and the libtiff and
  6. tools directories.
  7.  
  8. All you have to do is copy the files into the respective directories and run
  9. make. If you want, you can use the conf.bat to do that for you, make sure that
  10. the file is stored with MSDOS text EOL-convention (CR/LF), otherwise the
  11. command.com will not do anything (if you used unzip, use the -a option,
  12. otherwise edit the file and save it again).
  13.  
  14. Note that you probably will not be able to built the library with the v1.x
  15. versions of djgpp, due to two problems. First, the top makefile calls a
  16. sub-make for each directory and you are likely to run out of memory, since
  17. each recursive invocation of a djgpp v1.x program requires about 130k, to
  18. avoid that, you can enter the directories manually and call make (well, there
  19. are only two dirs). The 2nd problem is that djgpp 1.x doesn't call the
  20. coff2exe (stubify) program when creating an executable. This means that all
  21. programs compiled are not converted to exe and consequently are not available
  22. for calling directly. For the tools directory, you can just call coff2exe for
  23. each program after make finishes, but in the libtiff directory, a few programs
  24. are created during the make process that have to be called for make to
  25. continue (e.g. mkg3states). Make will probably report an error at each
  26. such stage. To fix that, either add a coff2exe call before each program is
  27. called or call coff2exe manually and rerun make (there 2-3 such programs).
  28.  
  29. Alexander Lehmann <alex@hal.rhein-main.de>
  30.  
  31.