| for OS/2
|
If you need to build the OpenSSL library for yourself, EG you're porting
an application that requires SSL or other cryptography functions provided by it, all you need to do is the following.
- Download the official OpenSSL source code from the OpenSSL web site
- Extract the source using
tar xzf openssl-0.9.6.tar.gz
- Delete all the 0 length files in openssl-0.9.6\include\openssl that
tar
makes in place of symlinks
- Apply the patch openssl-emx.patch in the openssl-0.9.6 directory using a unix
style patch program like gnupatch.zip and a
command line like
patch -p0 < openssl-emx.patch
- While still in the openssl-0.9.6 directory, run
os2\emx.cmd
to generate the makefiles. Note that
this requires that you have a PERL interpreter installed.
- Run
make -f emx.mak
- Once finished, you'll find the libraries, test programs & the openssl.exe command line application in the
out2 directory. You may need to move the .a files up into the openssl-0.9.6 directory for other
applications to find them for linking.