Jed,
To build static openssl libraries; (libeay32.lib & ssleay32.lib)

    > perl Configure VC-WIN32 no-rc5 no-idea no-mdc2
    > ms\do_nasm
        Edit: ms\nt.mak file (use any standard text editor)
           change '/MD' to '/MT' in CFLAG
    > nmake -f ms\nt.mak

libeay32.lib & ssleay32.lib will be built in directory out32; the necessary
include files will be built inc32\openssl

Make sure you use /MT switch consistently when building your application.
If you attempt a 'debug' build of your application  the default switch /MTd
will cause a library conflict (LIBCMT.lib)

you can choose not build the 'debug version' of your application or you can
change /MTd switch to /MT and define /define _DEBUG to /define NDEBUG

-----Original Message-----
Yeah, I was having a terrible time getting everything to compile.  I
was able to wrestle through a lot of it, but it simply wouldn't
finished compiling.  So I searched for others having similar troubles
and came across http://www.silverex.org/compiling/.  I realize that
the page says EXACTLY what INSTALL.W32 says (somewhat briefer), but
reading it in their format helped bring the whole picture together for
me.  I didn't catch on to the VC++ Command Line environment until that
point also, which solved all my troubles.

The instructions detailing "You can also build a static version of the
library using the Makefile: ms\nt.mak" from INSTALL.W32 are a little
buried in other text, so I missed that part until looking through it
to answer your (Jeremy) question.  It's all there in INSTALL.W32 -- it
took me a little longer to choose and properly use the appropriate
build environment.

-Jed Mitten-

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to