wiki:PythonPort/Quickstart

Version 8 (modified by ghost, 16 years ago) ( diff )

--

Python Port quickstart

At present, only gcc is supported toolset. To run the Boost.Build Python port, follow these steps:

  1. 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, use build.bat "--with-python=<python-root>" -- note the quotation marks -- you should use them, literally.
  2. Get a fresh version of Boost.Build from http://svn.boost.org/svn/boost/trunk/tools/build/v2
  3. Go to the example/hello
  4. Create file user-config.jam, with "using gcc ;" as the content.
  5. 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: See TracWiki for help on using the wiki.