Building boost with different gcc version

前端 未结 4 1102
庸人自扰
庸人自扰 2020-12-24 02:07

I have access to server where I need to build boost 1.46. How can I force bootstrap.sh to use /usr/bin/gcc-4.4. By default it uses /usr/bin/gcc and I can\'t figure out how t

4条回答
  •  醉梦人生
    2020-12-24 02:47

    Update for Boost 1.59

    Now you need to do this:

    echo "using gcc : : /usr/bin/g++44 ; " >> tools/build/src/user-config.jam
    

提交回复
热议问题