BOOST 1.55.0
MinGW
1 2 3 4 5 |
CD D:\CPP\tools\boost-1.55.0\tools\build\v2 build.bat mingw CD D:\CPP\tools\boost-1.55.0 REM 下面是静态链接的多线程支持版本,根据需要调整 bjam --build-type=complete toolset=gcc address-model=32 variant=debug,release threading=multi link=static |
Cygwin
1 2 |
#在Cygwin Terminal中执行 ./bjam --layout=versioned --build-type=complete toolset=gcc address-model=32 variant=debug,release threading=multi link=static |
wxWidgets 3.0.1
如果PATH环境变量中包含MSYS的bin目录,需要暂时禁用
MinGW
1 2 |
mingw32-make -f makefile.gcc UNICODE=1 SHARED=0 BUILD=release clean mingw32-make -f makefile.gcc UNICODE=1 SHARED=0 BUILD=debug |
ActiveMQ CMS Library 3.8.3
GCC依赖库
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#CPPUnit,单元测试支持,该库会安装到:/usr/local/bin/cppunit-config cd /usr/src/cppunit-1.12.0 ./configure CFLAGS="-O2 -s -mms-bitfields -march=i686" CXXFLAGS="-O2 -s -mms-bitfields -march=i686" --disable-shared make && make install #XML解析依赖 cd /usr/src/expat-2.0.0 ./configure CFLAGS="-O2 -s -mms-bitfields -march=i686" CXXFLAGS="-O2 -s -mms-bitfields -march=i686" make && make install #Apache Portable Runtime,注意:-O0 -g3 用于调试,生产环境的版本注意调整 cd /usr/src/apr-1.5.1 ./buildconf ./configure CFLAGS="-O0 -g3 -s -mms-bitfields -march=i686" CXXFLAGS="-O0 -g3 -s -mms-bitfields -march=i686" make && make install cd /usr/src/apr-util-1.5.3 ./buildconf --with-apr=../apr-1.5.1 ./configure CFLAGS="-O0 -g3 -s -mms-bitfields -march=i686" CXXFLAGS="-O0 -g3 -s -mms-bitfields -march=i686" --with-apr=/usr/local/apr/bin/apr-1-config make && make install cd /usr/src/apr-iconv-1.2.1 ./buildconf --with-apr=../apr-1.5.1 ./configure CFLAGS="-O0 -g3 -s -mms-bitfields -march=i686" CXXFLAGS="-O0 -g3 -s -mms-bitfields -march=i686" --with-apr=/usr/local/apr/bin/apr-1-config make && make install |
GCC
1 2 3 4 |
cd /usr/src/activemq-cpp-library-3.8.3 ./autogen.sh ./configure CFLAGS="-O0 -g3 -s -mms-bitfields -march=i686" CXXFLAGS="-O0 -g3 -s -mms-bitfields -std=gnu++0x -march=i686" --with-apr=/usr/local/apr/bin/apr-1-config make && make install |
MinGW
在MSYS的终端中执行:
1 |
./configure CFLAGS="-O0 -g3 -s -mms-bitfields -march=i686 -DHAVE_WINSOCK2_H" CXXFLAGS="-O0 -g3 -s -mms-bitfields -std=gnu++0x -march=i686 -DHAVE_WINSOCK2_H" --with-apr=/usr/local/apr/bin/apr-1-config |
Cygwin
1 2 3 |
./autogen.sh ./configure CXXFLAGS="-O0 -mms-bitfields -std=gnu++0x" make && make install |
Google Test 1.7.0
MinGW
1 2 3 |
./configure --with-pthreads=no make #编辑的静态库位于lib/.lib目录下 |
Cygwin
1 2 |
./configure make |
Leave a Reply