I want to build OpenSSL in Windows with MinGW,
How can I do that? Please help me.
Thanks.
I want to build OpenSSL in Windows with MinGW, How can I do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is an extract from a personal how-to I wrote. It has since been transformed to a script (look at the OpenSSL section, obviously). It assumes you have a working installation of MinGW and that you have a working MSys console.
OpenSSL
To build OpenSSL, you need a working Perl installation.
Download OpenSSL from its official website and decompress the archive.
Windows 32/64 bits – MinGW
You must run these commands from a MSys console.
For 32 bits:
For 64 bits:
Then:
The
make dependline is only needed on the most recent OpenSSL version if you specified any of theno-...options.Note that this will compile OpenSSL in static mode.
If at some point you get a "make (e=2):" error, ensure you don’t have another "make.exe" in your PATH or just type
/bin/makeinstead ofmake.You may, of course, need to compile it with other options (such as dynamic linking, or asm enabled). So feel free to look at the help
perl Configurecan provide to know more about the available options.