1 2 | $ wget http://sourceforge.net/projects/ ... boost_1_59_0.tar.gz $ gunzip < boost_1_59_0.tar.gz | tar –xvf- |
1 2 3 | $ wget ftp://public.dhe.ibm.com/softwar ... modfile_le_1313.txt $ cd <the-directory-where-boost_1_59_0-resides> $ patch –p0 < <path-to-the-pathfile>/boost_modfile_le_1313.txt |
1 2 3 4 5 6 | $ which xlC #xlC is not on $PATH which: 0652-141 There is no xlC in … $ PATH=/full-path-to-xlC{PATH} #Add path of xlC to $PATH export PATH $ which xlC #xlC is on the $PATH /full-path-to-xlCxlC |
1 2 3 4 5 6 7 8 9 | $ cd boost_1_59_0 $ ./bootstrap.sh --with-toolset=xlcpp Building Boost.Build engine with toolset xlcpp... … Generating Boost.Build configuration in project-config.jam... Bootstrapping is done. To build, run: ./b2 To adjust configuration, edit 'project-config.jam'. … |
1 2 3 4 5 6 7 8 | $ mkdir mybuild #Create working directory $ cd mybuild $ BOOST_ROOT=<path>/boost_1_59_0 #Set $BOOST_ROOT $ export BOOST_ROOT $ mkdir boost_build #Create build directory $ BOOST_BUILD=<path>/boost_build #Set $BOOST_BUILD $ export BOOST_BUILD |
1 | <path>/b2 -s BOOST_ROOT=<path>/boost_1_59_0 … |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |