1 2 3 4 5 6 7 8 9 10 11 12 13 | $ mkdir mybuild $ cd mybuild $ BOOST_ROOT=<path>/boost_1_59_0 $ export BOOST_ROOT $ mkdir <path>/boost_build $ BOOST_INSTALL=<path>/boost_install $ export BOOST_ INSTALL $ BOOST_BUILD=<path>/boost_build $ export BOOST_BUILD $ cd $BOOST_ROOT $ ./b2 install --prefix=$BOOST_ INSTALL --build-dir=$BOOST_BUILD -j8 -l1200 toolset=xlcpp variant=release target-os=linux -s OS=LINUX -d2 -a |
1 2 3 | $ ./b2 install cxxflags="-qnoxlcompatmacros" cflags="-qnoxlcompatmacros" --prefix=$BOOST_ INSTALL --build-dir=$BOOST_BUILD -j8 -l1200 toolset=xlcpp variant=release target-os=linux -s OS=LINUX -d2 -a |
1 2 3 4 5 6 7 | $ BOOST_ROOT/b2 --show-libraries The following libraries require building: - atomic - chrono - container - context < … > |
1 2 | $BOOST_ROOT/bjam install --with-chrono -j4 -l1200 toolset=xlcpp variant=release target-os=linux -s OS=LINUX -d2 -a |
1 2 | $BOOST_ROOT/bjam install --without-system -j4 -l1200 toolset=xlcpp variant=release target-os=linux -s OS=LINUX -d2 -a |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |