22 | | === Windows === |
| 22 | === Windows, running under the Windows command prompt and using Cygwin tools === |
| 23 | |
| 24 | First, you need to get the boost build tools set up. |
| 25 | |
| 26 | Install these [http://www.cygwin.com Cygwin] packages: |
| 27 | |
| 28 | * `Libs/libxml2` |
| 29 | * `Libs/libxslt` |
| 30 | * `Text/docbook-xml42` |
| 31 | * `Text/docbook-xsl` |
| 32 | * `Devel/gcc4-g++` (optional, if you don't already have a compiler) |
| 33 | * `Devel/doxygen` (optional, used for several libraries) |
| 34 | * `Text/tetex-extra` (optional, used for the accumulators library documentation) |
| 35 | * `Graphics/ghostscript` (optional, also used for the accumulators library documentation) |
| 36 | |
| 37 | As of Cygwin 1.7.5, May 2010, the Cygwin installation isn't using Windows symlinks for a few packages, so you |
| 38 | will need to set up your own in the Cygwin bin directory: |
| 39 | |
| 40 | * `cd ''cygwin-root''/bin` |
| 41 | * `mklink latex.exe pdfetex.exe` |
| 42 | * `mklink gswin32c.exe gs.exe` |
| 43 | |
| 44 | If you have an older version of Windows that doesn't support symlinks, you might try copying pdfetex.exe -> latex.exe and gs.exe -> gwsin32c.exe. |
| 45 | |
| 46 | Build bjam. Be sure to under the Windows command prompt rather than Cygwin bash: |
| 47 | |
| 48 | * `cd ''boost-root''/tools/jam/src` |
| 49 | * `build` |
| 50 | * copy `bin.ntx86\bjam.exe` to a directory in your path. |
| 51 | |
| 52 | Be sure your home directory bjam configuration file (`%HOMEDRIVE%\%HOMEPATH%\user-config.jam`) is set up correctly: |
| 53 | |
| 54 | {{{ |
| 55 | using msvc ; # or some other compiler |
| 56 | |
| 57 | using xsltproc ; |
| 58 | |
| 59 | using boostbook |
| 60 | : c:/boost/docbook/xsl |
| 61 | : c:/boost/docbook/dtd |
| 62 | ; |
| 63 | |
| 64 | using doxygen ; |
| 65 | using quickbook ; |
| 66 | }}} |
| 67 | |
| 68 | === Windows, running under the Windows command prompt and using manually downloaded tools === |