MinGW build of Squid-3.5
Posted heycomputer
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于MinGW build of Squid-3.5的主要内容,如果未能解决你的问题,请参考以下文章
squid 3.5 https setup ubuntu 16.04
MinGW、MinGW-w64 和 MinGW-builds 有啥区别?
code blocks里无法build。有人告诉我要把gcc设成根目录下的\MinGW。但是我完全没明白啥意思
conan入门:Windows NDK 编译 boost报错:CMake was unable to find a build program .... MinGW Makefile