blob: 1047ec90a57f034dd3dd2effd257fbe8c6e0daa0 [file] [log] [blame]
Richard Levitte451dc182002-06-13 20:42:35 +00001
2
3 INSTALLATION ON THE DOS PLATFORM WITH DJGPP
4 -------------------------------------------
5
Andy Polyakov9222bc62005-01-14 16:25:36 +00006 OpenSSL has been ported to DJGPP, a Unix look-alike 32-bit run-time
7 environment for 16-bit DOS, but only with long filename support.
8 If you wish to compile on native DOS with 8+3 filenames, you will
9 have to tweak the installation yourself, including renaming files
10 with illegal or duplicate names.
Richard Levitte451dc182002-06-13 20:42:35 +000011
12 You should have a full DJGPP environment installed, including the
13 latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package
14 requires that PERL and BC also be installed.
15
Andy Polyakov9222bc62005-01-14 16:25:36 +000016 All of these can be obtained from the usual DJGPP mirror sites or
17 directly at "http://www.delorie.com/pub/djgpp". For help on which
18 files to download, see the DJGPP "ZIP PICKER" page at
19 "http://www.delorie.com/djgpp/zip-picker.html". You also need to have
20 the WATT-32 networking package installed before you try to compile
21 OpenSSL. This can be obtained from "http://www.bgnett.no/~giva/".
Richard Levitte5319be42002-12-04 09:54:10 +000022 The Makefile assumes that the WATT-32 code is in the directory
23 specified by the environment variable WATT_ROOT. If you have watt-32
24 in directory "watt32" under your main DJGPP directory, specify
25 WATT_ROOT="/dev/env/DJDIR/watt32".
Richard Levitte451dc182002-06-13 20:42:35 +000026
Andy Polyakov9222bc62005-01-14 16:25:36 +000027 To compile OpenSSL, start your BASH shell, then configure for DJGPP by
28 running "./Configure" with appropriate arguments:
Richard Levitte451dc182002-06-13 20:42:35 +000029
Andy Polyakov9222bc62005-01-14 16:25:36 +000030 ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
31
32 And finally fire up "make". You may run out of DPMI selectors when
33 running in a DOS box under Windows. If so, just close the BASH
34 shell, go back to Windows, and restart BASH. Then run "make" again.
Andy Polyakov0b52f892005-01-09 20:14:04 +000035
36 RUN-TIME CAVEAT LECTOR
37 --------------
38
39 Quoting FAQ:
40
41 "Cryptographic software needs a source of unpredictable data to work
42 correctly. Many open source operating systems provide a "randomness
43 device" (/dev/urandom or /dev/random) that serves this purpose."
44
Andy Polyakov9222bc62005-01-14 16:25:36 +000045 As of version 0.9.7f DJGPP port checks upon /dev/urandom$ for a 3rd
46 party "randomness" DOS driver. One such driver, NOISE.SYS, can be
47 obtained from "http://www.rahul.net/dkaufman/index.html".