]> git.ipfire.org Git - thirdparty/openssl.git/blame - INSTALL.DJGPP
make update
[thirdparty/openssl.git] / INSTALL.DJGPP
CommitLineData
451dc18f
RL
1
2
3 INSTALLATION ON THE DOS PLATFORM WITH DJGPP
4 -------------------------------------------
5
9222bc6b
AP
6 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.
451dc18f
RL
11
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
9222bc6b
AP
16 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/".
5319be44
RL
22 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".
451dc18f 26
9222bc6b
AP
27 To compile OpenSSL, start your BASH shell, then configure for DJGPP by
28 running "./Configure" with appropriate arguments:
451dc18f 29
9222bc6b
AP
30 ./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.
0b52f89b 35
d333ebaf
RL
36 CAVEAT LECTOR
37 -------------
38
39 ### Default install and config paths
40
41 ./Configure defaults to '/usr/local/ssl' as installation top. This is
42 suitable for Unix, but not for Windows, where this usually is a world
43 writable directory and therefore accessible for change by untrusted users.
44 It is therefore recommended to set your own --prefix or --openssldir to
45 some location that is not world writeable (see the example above)
46
47 ### Entropy
0b52f89b
AP
48
49 Quoting FAQ:
50
51 "Cryptographic software needs a source of unpredictable data to work
52 correctly. Many open source operating systems provide a "randomness
53 device" (/dev/urandom or /dev/random) that serves this purpose."
54
9222bc6b
AP
55 As of version 0.9.7f DJGPP port checks upon /dev/urandom$ for a 3rd
56 party "randomness" DOS driver. One such driver, NOISE.SYS, can be
57 obtained from "http://www.rahul.net/dkaufman/index.html".