boost install with cxx14 support

Submitted by lepton on Wed, 10/24/2018 - 15:13

by default boost has build with cxx11 support on mac 10.13 high sierra with xcode 9.4

to avoid link errors with c++14,it should build with c++14 support

./bootstrap.sh  --prefix=path

./b2 link=static cxxflags="-std=c++14" -d+2 stage

// ./b2 .....

//./b2 install

 

//on gentoo may has    error: "none" is not a known value of feature

//this because boost installed and the file /usr/share/boost-build/site-config.jam

//add this --ignore-site-config

Comments

IvyUndes (not verified)

Tue, 08/04/2020 - 11:06

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.