X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=INSTALL.DJGPP;h=1047ec90a57f034dd3dd2effd257fbe8c6e0daa0;hp=cdeac222b2d07e34d883458fcf1428e4364ebc8b;hb=14c67a70043c0ba72e11d3c19650db09ffdc2224;hpb=5319be44384de8a6f8a2bf6249f3b2aa59cd8b52 diff --git a/INSTALL.DJGPP b/INSTALL.DJGPP index cdeac222b2..1047ec90a5 100644 --- a/INSTALL.DJGPP +++ b/INSTALL.DJGPP @@ -3,32 +3,45 @@ INSTALLATION ON THE DOS PLATFORM WITH DJGPP ------------------------------------------- - Openssl has been ported to DOS, but only with long filename support. If - you wish to compile on native DOS with 8+3 filenames, you will have to - tweak the installation yourself, including renaming files with illegal - or duplicate names. + OpenSSL has been ported to DJGPP, a Unix look-alike 32-bit run-time + environment for 16-bit DOS, but only with long filename support. + If you wish to compile on native DOS with 8+3 filenames, you will + have to tweak the installation yourself, including renaming files + with illegal or duplicate names. You should have a full DJGPP environment installed, including the latest versions of DJGPP, GCC, BINUTILS, BASH, etc. This package requires that PERL and BC also be installed. - All of these can be obtained from the usual DJGPP mirror sites, such - as "ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp". 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/". + All of these can be obtained from the usual DJGPP mirror sites or + directly at "http://www.delorie.com/pub/djgpp". For help on which + files to download, see the DJGPP "ZIP PICKER" page at + "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 specified by the environment variable WATT_ROOT. If you have watt-32 in directory "watt32" under your main DJGPP directory, specify WATT_ROOT="/dev/env/DJDIR/watt32". - To compile openssl, start your BASH shell. Then configure for DOS by - running "./Configure" with appropriate arguments. The basic syntax for - DOS is: - ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP + To compile OpenSSL, start your BASH shell, then configure for DJGPP by + running "./Configure" with appropriate arguments: + + ./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. + 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 + -------------- + + Quoting FAQ: + + "Cryptographic software needs a source of unpredictable data to work + correctly. Many open source operating systems provide a "randomness + device" (/dev/urandom or /dev/random) that serves this purpose." - Building openssl under DJGPP has been tested with DJGPP 2.03, - GCC 2.952, GCC 2.953, perl 5.005_02 and perl 5.006_01. + As of version 0.9.7f DJGPP port checks upon /dev/urandom$ for a 3rd + party "randomness" DOS driver. One such driver, NOISE.SYS, can be + obtained from "http://www.rahul.net/dkaufman/index.html".