Boost version 1.68.0
Build requres flag for g++ -mcpu=r2000
b2 -cxxflags="-std=c++11 -mcpu=r2000" -j 12
During build b2 calls g++-compiler with -mcpu=v7 which this build doesn't support.
Boost version 1.68.0
Build requres flag for g++ -mcpu=r2000
b2 -cxxflags="-std=c++11 -mcpu=r2000" -j 12
During build b2 calls g++-compiler with -mcpu=v7 which this build doesn't support.
Copyright © 2021 Jogjafile Inc.
It looks like Boost's GCC toolchain definitions do not know about r2000 at all.
This might explain it defaulting to the default value. I haven't tried, but there might be a diagnostic message related to this. If not, you could file an issue asking for one to be added to save people time wasted debugging this condition.
Here's the relevant list from tools/build/src/tools/gcc.jam (in 1.82.0):
Also keep in mind that there might be known issues, seeing you're using an older version of boost.
According to this post specific versions might require a work-around like specifying e.g.
instruction-set=v9on the command line.