INSTALL.DJGPP sync.

PR: 989
This commit is contained in:
Andy Polyakov 2005-01-14 16:25:36 +00:00
parent e6d27baf52
commit 9222bc6b4e

View File

@ -3,36 +3,35 @@
INSTALLATION ON THE DOS PLATFORM WITH DJGPP INSTALLATION ON THE DOS PLATFORM WITH DJGPP
------------------------------------------- -------------------------------------------
OpenSSL has been ported to DJGPP, a 32-bit run-time environment for OpenSSL has been ported to DJGPP, a Unix look-alike 32-bit run-time
16-bit DOS, but only with long filename support. If you wish to environment for 16-bit DOS, but only with long filename support.
compile on native DOS with 8+3 filenames, you will have to tweak the If you wish to compile on native DOS with 8+3 filenames, you will
installation yourself, including renaming files with illegal have to tweak the installation yourself, including renaming files
or duplicate names. with illegal or duplicate names.
You should have a full DJGPP environment installed, including the You should have a full DJGPP environment installed, including the
latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package
requires that PERL and BC also be installed. requires that PERL and BC also be installed.
All of these can be obtained from the usual DJGPP mirror sites, such All of these can be obtained from the usual DJGPP mirror sites or
as "ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp". You also need to directly at "http://www.delorie.com/pub/djgpp". For help on which
have the WATT-32 networking package installed before you try to compile files to download, see the DJGPP "ZIP PICKER" page at
openssl. This can be obtained from "http://www.bgnett.no/~giva/". "http://www.delorie.com/djgpp/zip-picker.html". You also need to have
the WATT-32 networking package installed before you try to compile
OpenSSL. This can be obtained from "http://www.bgnett.no/~giva/".
The Makefile assumes that the WATT-32 code is in the directory The Makefile assumes that the WATT-32 code is in the directory
specified by the environment variable WATT_ROOT. If you have watt-32 specified by the environment variable WATT_ROOT. If you have watt-32
in directory "watt32" under your main DJGPP directory, specify in directory "watt32" under your main DJGPP directory, specify
WATT_ROOT="/dev/env/DJDIR/watt32". WATT_ROOT="/dev/env/DJDIR/watt32".
To compile openssl, start your BASH shell. Then configure for DOS by To compile OpenSSL, start your BASH shell, then configure for DJGPP by
running "./Configure" with appropriate arguments. The basic syntax for running "./Configure" with appropriate arguments:
DOS is:
./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
You may run out of DPMI selectors when running in a DOS box under
Windows. If so, just close the BASH shell, go back to Windows, and
restart BASH. Then run "make" again.
Building openssl under DJGPP has been tested with DJGPP 2.03, ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
GCC 2.952, GCC 2.953, perl 5.005_02 and perl 5.006_01.
And finally fire up "make". You may run out of DPMI selectors when
running in a DOS box under Windows. If so, just close the BASH
shell, go back to Windows, and restart BASH. Then run "make" again.
RUN-TIME CAVEAT LECTOR RUN-TIME CAVEAT LECTOR
-------------- --------------
@ -43,6 +42,6 @@
correctly. Many open source operating systems provide a "randomness correctly. Many open source operating systems provide a "randomness
device" (/dev/urandom or /dev/random) that serves this purpose." device" (/dev/urandom or /dev/random) that serves this purpose."
As of version 0.9.7f OpenSSL checks upon /dev/urandom$ for a 3rd party DOS As of version 0.9.7f DJGPP port checks upon /dev/urandom$ for a 3rd
driver. One such driver implemented by Robert Rothenberg "Walking-Owl" party "randomness" DOS driver. One such driver, NOISE.SYS, can be
can be obtained from "http://www.funet.fi/pub/crypt/random/noise063.zip." obtained from "http://www.rahul.net/dkaufman/index.html".