MSYS2开发环境搭建 proxy
这是一篇写得较好的文章:
http://blog.csdn.net/callinglove/article/details/48601775
但公司通过代理服务器上网,所以要proxy settings.
http://stackoverflow.com/questions/29783065/msys2-pacman-cant-update-packages-through-corporate-firewall
我是在每次打开shell后输入:
export http_proxy=
最后编辑 msys的 etc/profile文件,在末尾添加以下几行,用来告诉编译器优先查找我们的 64位库文件目录(具体目录自己指定)
export LDFLAGS="-L/mingw/local/lib -lpthread $LDFLAGS" # -lpthread required to compile GraphicsMagick.
export CFLAGS="-I/mingw/local/include $CFLAGS"
export CPPFLAGS="-I/mingw/local/include $CPPFLAGS"
export CXXFLAGS="-I/mingw/local/include $CXXFLAGS"
export PATH="/mingw/local/bin:$PATH"
还没有评论,来说两句吧...