Back to home page

openssl Cross Reference

 
 

    


0001 
0002  
0003  INSTALLATION ON THE DOS PLATFORM WITH DJGPP
0004  -------------------------------------------
0005 
0006  OpenSSL has been ported to DJGPP, a Unix look-alike 32-bit run-time
0007  environment for 16-bit DOS, but only with long filename support.
0008  If you wish to compile on native DOS with 8+3 filenames, you will
0009  have to tweak the installation yourself, including renaming files
0010  with illegal or duplicate names.
0011 
0012  You should have a full DJGPP environment installed, including the
0013  latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package
0014  requires that PERL and BC also be installed.
0015 
0016  All of these can be obtained from the usual DJGPP mirror sites or
0017  directly at "http://www.delorie.com/pub/djgpp". For help on which
0018  files to download, see the DJGPP "ZIP PICKER" page at
0019  "http://www.delorie.com/djgpp/zip-picker.html". You also need to have
0020  the WATT-32 networking package installed before you try to compile
0021  OpenSSL. This can be obtained from "http://www.bgnett.no/~giva/".
0022  The Makefile assumes that the WATT-32 code is in the directory
0023  specified by the environment variable WATT_ROOT. If you have watt-32
0024  in directory "watt32" under your main DJGPP directory, specify
0025  WATT_ROOT="/dev/env/DJDIR/watt32".
0026 
0027  To compile OpenSSL, start your BASH shell, then configure for DJGPP by
0028  running "./Configure" with appropriate arguments:
0029 
0030         ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
0031  
0032  And finally fire up "make". You may run out of DPMI selectors when
0033  running in a DOS box under Windows. If so, just close the BASH
0034  shell, go back to Windows, and restart BASH. Then run "make" again.
0035 
0036  RUN-TIME CAVEAT LECTOR
0037  --------------
0038 
0039  Quoting FAQ:
0040 
0041   "Cryptographic software needs a source of unpredictable data to work
0042    correctly.  Many open source operating systems provide a "randomness
0043    device" (/dev/urandom or /dev/random) that serves this purpose."
0044 
0045  As of version 0.9.7f DJGPP port checks upon /dev/urandom$ for a 3rd
0046  party "randomness" DOS driver. One such driver, NOISE.SYS, can be
0047  obtained from "http://www.rahul.net/dkaufman/index.html".