MinGW build of Squid-3.5

# Debian Packages Required:
#
# mingw-w64
# provides GCC cross-compiler. GCC 4.9.1 or later required.
#
# mingw-w64-tools
# provides pkg-config and other build-time tools used by autoconf
#
# Build:
cd tpl/
../configure
--host=i686-w64-mingw32
CXXFLAGS="-DWINVER=0x601 -D_WIN32_WINNT=0x601"
CFLAGS="-DWINVER=0x601 -D_WIN32_WINNT=0x601"
BUILDCXX="g++"
BUILDCXXFLAGS="-DFOO"
--enable-build-info="Windows (MinGW cross-build)"
make -k

原文地址:https://www.cnblogs.com/heycomputer/p/12234689.html