Compiling OpenSSL 1.0.2d on 64-bit Cygwin
Out of the box I couldn’t get OpenSSL to compile on 64-bit Cygwin, below are the steps I used to successfully compile it.
- Use “tar xf openssl-1.0.2d.tar.gz” to decompress the source
- Add options=”$options no-asm” to line 913 of config
- Run ./config
- Change -march=i486 to -march=x86-64
- Run make
- All done
Note that I had to use tar to decompress it as 7zip wreaked the symlinks used in there which caused some #includes to fail.