Changes between Version 53 and Version 54 of BoostDocs/GettingStarted


Ignore:
Timestamp:
May 26, 2010, 3:50:30 PM (12 years ago)
Author:
Beman Dawes
Comment:

Add instructions for Windows command prompt with Cygwin tools

Legend:

Unmodified
Added
Removed
Modified
  • BoostDocs/GettingStarted

    v53 v54  
    2020[[Image(https://svn.boost.org/trac/boost/raw-attachment/wiki/BoostDocs/GettingStarted/documentation-toolchain.png)]]
    2121
    22 === Windows ===
     22=== Windows, running under the Windows command prompt and using Cygwin tools ===
     23
     24First, you need to get the boost build tools set up.
     25
     26Install 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
     37As of Cygwin 1.7.5, May 2010, the Cygwin installation isn't using Windows symlinks for a few packages, so you
     38will 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
     44If 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
     46Build 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
     52Be sure your home directory bjam configuration file (`%HOMEDRIVE%\%HOMEPATH%\user-config.jam`) is set up correctly:
     53
     54{{{
     55using msvc ;  # or some other compiler
     56
     57using xsltproc ;
     58
     59using boostbook
     60    : c:/boost/docbook/xsl
     61    : c:/boost/docbook/dtd
     62    ;
     63
     64using doxygen ;
     65using quickbook ;
     66}}}
     67
     68=== Windows, running under the Windows command prompt and using manually downloaded tools ===
    2369
    2470First, you need to get the boost build tools set up, see [http://www.boost.org/doc/libs/1_37_0/more/getting_started/index.html the getting started guide] for an introduction.
     
    71117}}}
    72118
    73 === Cygwin ===
     119=== Windows, running under bash and using Cygwin tools ===
    74120
    75121First, you need to get the boost build tools set up. `bjam` will need to be built using cygwin, so don't use the prebuilt windows binary.