Users and customers build the wolfSSL embedded SSL/TLS library in all kinds of build environments, one of those being Cygwin on Windows.
To build wolfSSL for Cygwin, here are the current steps to do so. These instructions can also be found in the wolfSSL Manual.
- Go to https://www.cygwin.com/install.html and download setup-x86_64.exe
- Run setup-x86_64.exe and install however you choose. Click through the installation menus until you reach the “Select Packages” stage.
- Click on the “+” icon to expand “All”
- Now go to the “Archive” section and select “unzip” drop down, change “Skip” to 6.0-15 (or some other version).
- Under “Devel” click “autoconf” drop down and change “Skip” to “10-1” (or some other version)
- Under “Devel” click “automake” drop down and change “Skip” to “10-1” (or some other version)
- Under “Devel” click the “gcc-core” drop down and change “Skip” to 7.4.0-1 (NOTE: wolfSSL has not tested GCC 9 or 10 and as they are fairly new does not recommend using them until they have had a bit more time to be fine-tuned for development).
- Under “Devel” click the “git” drop down and change “Skip” to 2.29.0-1 (or some other version)
- Under “Devel” click “libtool” drop down and change “Skip” to “2.4.6-5” (or some other version)
- Under “Devel” click the “make” drop down and change “Skip” to 4.2.1-1 (or some other version)
- Click “Next” and proceed through the rest of the installation.
Post Install:
- Open a Cygwin terminal and clone wolfSSL “git clone https://github.com/wolfssl/wolfssl.git”
- “cd wolfssl”
- “./autogen.sh”
- “./configure”
- “make”
- “make check”
If you have any questions or run into any issues, contact us at facts@wolfssl.com, or call us at +1 425 245 8247.
In addition to portable builds, wolfSSL includes TLS 1.3 and has variants available for FIPS 140-2/140-3, DO-178, and MISRA!