ubuntu下安装命令
sudo apt-get install mingw-w64
Win32
./configure --prefix=/home/yuangu/out --host=i686-w64-mingw32
win64
./configure --prefix=/home/yuangu/out --host=x86_64-w64-mingw32
openssl mingw32编译脚本
export CC=i686-w64-mingw32-gccexport CXX=i686-w64-mingw32-g++export AR=i686-w64-mingw32-arexport LD=i686-w64-mingw32-gccexport OS=windowsexport AS=yasmexport STRIP=i686-w64-mingw32-stripexport RC=i686-w64-mingw32-windresexport NM=i686-w64-mingw32-nm./Configure no-idea no-mdc2 no-rc5 shared mingw --prefix=$PWD/distmakemake install