Blame NOTES.DJGPP

Packit Service 084de1
Packit Service 084de1
Packit Service 084de1
 INSTALLATION ON THE DOS PLATFORM WITH DJGPP
Packit Service 084de1
 -------------------------------------------
Packit Service 084de1
Packit Service 084de1
 OpenSSL has been ported to DJGPP, a Unix look-alike 32-bit run-time
Packit Service 084de1
 environment for 16-bit DOS, but only with long filename support.
Packit Service 084de1
 If you wish to compile on native DOS with 8+3 filenames, you will
Packit Service 084de1
 have to tweak the installation yourself, including renaming files
Packit Service 084de1
 with illegal or duplicate names.
Packit Service 084de1
Packit Service 084de1
 You should have a full DJGPP environment installed, including the
Packit Service 084de1
 latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package
Packit Service 084de1
 requires that PERL and the PERL module Text::Template also be
Packit Service 084de1
 installed (see NOTES.PERL).
Packit Service 084de1
Packit Service 084de1
 All of these can be obtained from the usual DJGPP mirror sites or
Packit Service 084de1
 directly at "http://www.delorie.com/pub/djgpp". For help on which
Packit Service 084de1
 files to download, see the DJGPP "ZIP PICKER" page at
Packit Service 084de1
 "http://www.delorie.com/djgpp/zip-picker.html". You also need to have
Packit Service 084de1
 the WATT-32 networking package installed before you try to compile
Packit Service 084de1
 OpenSSL. This can be obtained from "http://www.watt-32.net/".
Packit Service 084de1
 The Makefile assumes that the WATT-32 code is in the directory
Packit Service 084de1
 specified by the environment variable WATT_ROOT. If you have watt-32
Packit Service 084de1
 in directory "watt32" under your main DJGPP directory, specify
Packit Service 084de1
 WATT_ROOT="/dev/env/DJDIR/watt32".
Packit Service 084de1
Packit Service 084de1
 To compile OpenSSL, start your BASH shell, then configure for DJGPP by
Packit Service 084de1
 running "./Configure" with appropriate arguments:
Packit Service 084de1
Packit Service 084de1
	./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
Packit Service 084de1
Packit Service 084de1
 And finally fire up "make". You may run out of DPMI selectors when
Packit Service 084de1
 running in a DOS box under Windows. If so, just close the BASH
Packit Service 084de1
 shell, go back to Windows, and restart BASH. Then run "make" again.
Packit Service 084de1
Packit Service 084de1
 RUN-TIME CAVEAT LECTOR
Packit Service 084de1
 --------------
Packit Service 084de1
Packit Service 084de1
 Quoting FAQ:
Packit Service 084de1
Packit Service 084de1
  "Cryptographic software needs a source of unpredictable data to work
Packit Service 084de1
   correctly.  Many open source operating systems provide a "randomness
Packit Service 084de1
   device" (/dev/urandom or /dev/random) that serves this purpose."
Packit Service 084de1
Packit Service 084de1
 As of version 0.9.7f DJGPP port checks upon /dev/urandom$ for a 3rd
Packit Service 084de1
 party "randomness" DOS driver. One such driver, NOISE.SYS, can be
Packit Service 084de1
 obtained from "http://www.rahul.net/dkaufman/index.html".