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.Build from http://svn.boost.org/svn/boost/trunk/tools/build/v2
- Build the build engine executable, by going to the
engine/srcsubdirectory and running./build.sh --with-python=/usr. On Windows, usebuild.bat "--with-python=<python-root>"-- note the quotation marks -- you should use them, literally. - 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>" .
Last modified
15 years ago
Last modified on Dec 29, 2010, 10:49:53 AM
Note:
See TracWiki
for help on using the wiki.
