| Version 9 (modified by , 16 years ago) ( diff ) |
|---|
Python Port quickstart
At present, only gcc is supported toolset. To run the Boost.Build Python port, follow these steps:
- Get a fresh version of Boost.Jam from http://svn.boost.org/svn/boost/trunk/tools/jam and build it, by going to the "src" subdirectory and running
./build.sh --with-python=/usr. On Windows, usebuild.bat "--with-python=<python-root>"-- note the quotation marks -- you should use them, literally. - Get a fresh version of Boost.Build from http://svn.boost.org/svn/boost/trunk/tools/build/v2
- Go to the
example/hello - Create file user-config.jam, with "using gcc ;" as the content.
- Run
bjam --python --user-config=user-config.jam.
Note: the bjam binary used in step 3 should be the one you've built in step 1.
Note: You can explicitly specify the toolset. This can be useful if you wish to use gcc and instead another compiler is being picked. Just add the name of the toolset after the command, for instance: build.bat gcc "--with-python=<python-root>" .
Note:
See TracWiki
for help on using the wiki.
