
26 Aug
2013
26 Aug
'13
2:53 p.m.
Neal Becker
What I'd like is to build both python2 and python3 from the same source tree, installing the final shared libs into the same destination dir. Right now I have 2 different source trees, and build switching the one line in user- config.jam.
In Fedora, I add the Python 3 like you do, and then additionally add e.g. python=2.7 to the b2 command line. This then builds a libboost_python.so vs. Python 2 and libboost_python3 vs. Python 3. My theory is that when Python 2 to Python 3 transition is eventually done, you still want to build libbost_python (sans 3), because lots of apps will still use -lboost_python. But by that time it will be desirable to have libboost_python built vs. Python 3. Thanks, PM