~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to INSTALL.DJGPP

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051213213742-d0ydaylf80l16bj1
Tags: upstream-0.9.8a
ImportĀ upstreamĀ versionĀ 0.9.8a

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 INSTALLATION ON THE DOS PLATFORM WITH DJGPP
4
4
 -------------------------------------------
5
5
 
6
 
 Openssl has been ported to DOS, but only with long filename support. If
7
 
 you wish to compile on native DOS with 8+3 filenames, you will have to
8
 
 tweak the installation yourself, including renaming files with illegal
9
 
 or duplicate names.
 
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.
10
11
 
11
12
 You should have a full DJGPP environment installed, including the
12
13
 latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package
13
14
 requires that PERL and BC also be installed.
14
15
 
15
 
 All of these can be obtained from the usual DJGPP mirror sites, such
16
 
 as "ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp". You also need to
17
 
 have the WATT-32 networking package installed before you try to compile
18
 
 openssl. This can be obtained from "http://www.bgnett.no/~giva/".
 
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/".
19
22
 The Makefile assumes that the WATT-32 code is in the directory
20
23
 specified by the environment variable WATT_ROOT. If you have watt-32
21
24
 in directory "watt32" under your main DJGPP directory, specify
22
25
 WATT_ROOT="/dev/env/DJDIR/watt32".
23
26
 
24
 
 To compile openssl, start your BASH shell. Then configure for DOS by
25
 
 running "./Configure" with appropriate arguments. The basic syntax for
26
 
 DOS is:
27
 
 ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
 
27
 To compile OpenSSL, start your BASH shell, then configure for DJGPP by
 
28
 running "./Configure" with appropriate arguments:
 
29
 
 
30
        ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
28
31
 
29
 
 You may run out of DPMI selectors when running in a DOS box under
30
 
 Windows. If so, just close the BASH shell, go back to Windows, and
31
 
 restart BASH. Then run "make" again.
32
 
 
33
 
 Building openssl under DJGPP has been tested with DJGPP 2.03,
34
 
 GCC 2.952, GCC 2.953, perl 5.005_02 and perl 5.006_01.
 
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.
 
35
 
 
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
 
 
45
 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".