INSTALL.DJGPP 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. INSTALLATION ON THE DOS PLATFORM WITH DJGPP
  2. -------------------------------------------
  3. OpenSSL has been ported to DJGPP, a Unix look-alike 32-bit run-time
  4. environment for 16-bit DOS, but only with long filename support.
  5. If you wish to compile on native DOS with 8+3 filenames, you will
  6. have to tweak the installation yourself, including renaming files
  7. with illegal or duplicate names.
  8. You should have a full DJGPP environment installed, including the
  9. latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package
  10. requires that PERL and BC also be installed.
  11. All of these can be obtained from the usual DJGPP mirror sites or
  12. directly at "http://www.delorie.com/pub/djgpp". For help on which
  13. files to download, see the DJGPP "ZIP PICKER" page at
  14. "http://www.delorie.com/djgpp/zip-picker.html". You also need to have
  15. the WATT-32 networking package installed before you try to compile
  16. OpenSSL. This can be obtained from "http://www.bgnett.no/~giva/".
  17. The Makefile assumes that the WATT-32 code is in the directory
  18. specified by the environment variable WATT_ROOT. If you have watt-32
  19. in directory "watt32" under your main DJGPP directory, specify
  20. WATT_ROOT="/dev/env/DJDIR/watt32".
  21. To compile OpenSSL, start your BASH shell, then configure for DJGPP by
  22. running "./Configure" with appropriate arguments:
  23. ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
  24. And finally fire up "make". You may run out of DPMI selectors when
  25. running in a DOS box under Windows. If so, just close the BASH
  26. shell, go back to Windows, and restart BASH. Then run "make" again.
  27. CAVEAT LECTOR
  28. -------------
  29. ### Default install and config paths
  30. ./Configure defaults to '/usr/local/ssl' as installation top. This is
  31. suitable for Unix, but not for Windows, where this usually is a world
  32. writable directory and therefore accessible for change by untrusted users.
  33. It is therefore recommended to set your own --prefix or --openssldir to
  34. some location that is not world writeable (see the example above)
  35. ### Entropy
  36. Quoting FAQ:
  37. "Cryptographic software needs a source of unpredictable data to work
  38. correctly. Many open source operating systems provide a "randomness
  39. device" (/dev/urandom or /dev/random) that serves this purpose."
  40. As of version 0.9.7f DJGPP port checks upon /dev/urandom$ for a 3rd
  41. party "randomness" DOS driver. One such driver, NOISE.SYS, can be
  42. obtained from "http://www.rahul.net/dkaufman/index.html".