fyi, you can add this to tools/build/v2/user-config.jam prior to running bootstrap.sh - which means you don't need to delete python from the project.config.jam


On 12 February 2013 20:08, Mika Fischer <mika.fischer@zoopnet.de> wrote:
On Tue, Feb 12, 2013 at 2:23 AM, Steve Lorimer <steve.lorimer@gmail.com> wrote:
> 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
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users