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

上一篇:c – 如何在MSVC中使用MingW编译的库?


下一篇:eclipse中新建C++工程