# 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
相关文章
- 01-26go build ldflags
- 01-26Clang Static Analyzer使用手册-scan-build查看bug
- 01-26Spring Boot2(004):关于 Build Systems (构建系统)
- 01-262015第18本:从0到1,ZERO to ONE, Notes on startups, or how to build the future
- 01-26安装CTC时make失败CMakeFiles/test_gpu.dir/build.make:63: recipe for target 'CMakeFiles/test_gpu.dir/t
- 01-26编译openwrt时报错build_dir/hostpkg/libubox-2018-07-25-c83a84af/blobmsg_json.c:21:19: fatal error: json.h:
- 01-26build a git repo and clone
- 01-26build muduo库时报错
- 01-26ARM64平台编译stream、netperf出错解决办法 解决办法:指定编译平台为alpha [root@localhost netperf-2.6.0]# ./configure –build=
- 01-26maven warnning 'build.plugins.plugin.version' is missing