Installing MinGW/MSYS on Windows with OpenSSL support
Tuesday, November 26th, 2013 - 8:34 am - Programming
Installing MinGW/MSYS
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite
http://www.mingw.org/wiki/MSYS
Install MinGW (before MSYS)
Download the MinGW Installer from http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download
- Select Save File when prompted.
- Open the downloaded exe.
- Click Yes when Windows asks if you want to allow it.
- Click Next > on the Welcome screen.
- Select Download and Install and click Next >
- Read the License Agreement and click I agree
- Select Current to install the current MinGW package and click Next >
- Check the MinGW base tools and g++ compiler click Next
- Destination Folder should be C:\MinGW
- Click Next >
- Leave the default folder and click Install
- When Installation is complete, click Next >
- Click Finish
Install MSYS:
- Download MSYS
- Run the downloaded exe.
- Click Yes when Windows asks if you want to allow it.
- Click Yes you want to install in the Setup pop-up.
- Click Next in the Welcome Window.
- Read the License Agreement and click Yes
- Read the Information and click Next >
- The Default Destination of C:\msys\1.0 is fine, so click Next >
- The default folder of MinGW is fine, so click Next >
- Click Install
- A cmd shell will pop-up asking if you want to continue with the post install, enter y enter
- Answer y you do have MinGW Installed.
- Enter c:/mingw as the path where MinGW is installed.
- It should confirm that you have make.exe installed, press any key to continue.
- Click Finish you are done the installation. (It is up to you if you want to open the documents.)
OpenSSL
OpenSSL is a library for Secure Sockets Layer (SSL), Transport Layer Security (TLS) protocols, and cryptography. Some tools require openSSL, if so, here are some instructions:
I downloaded an openssl installer from: http://www.slproweb.com/products/Win32OpenSSL.html
I installed into /mingw/openssl/. I then linked the includes:
cd /mingw/include ln -s ../openssl/include/openssl openssl That's it.
thanks!