
12 Feb
2013
12 Feb
'13
9:08 a.m.
On Tue, Feb 12, 2013 at 2:23 AM, Steve Lorimer
I want to build 2 variants of boost python - one for each python version.
My question is - will the boost headers be different; or can I just use the same header location for the boost headers, and link against a different boost-python library depending on which python version I want?
Even better, you can build both variants in the same boost build. The headers are the same. This is what I'm using on Arch Linux: sed -i '/python/d' project-config.jam echo "using python : 3.3 : /usr/bin/python : /usr/include/python3.3m : /usr/lib ;" >> project-config.jam echo "using python : 2.7 : /usr/bin/python2 : /usr/include/python2.7 : /usr/lib ;" >> project-config.jam Best, Mika