/Src/Dependencies/Boost/more/getting_started/detail/build-from-source-tail.rst

http://hadesmem.googlecode.com/ · ReStructuredText · 73 lines · 53 code · 20 blank · 0 comment · 0 complexity · 515026aade6f3728565eec01853fe5cc MD5 · raw file

  1. .. Copyright David Abrahams 2006. Distributed under the Boost
  2. .. Software License, Version 1.0. (See accompanying
  3. .. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. Building the special ``stage`` target places Boost
  5. library binaries in the ``stage``\ |/|\ ``lib``\ |/| subdirectory of
  6. the Boost tree. To use a different directory pass the
  7. ``--stagedir=``\ *directory* option to ``b2``.
  8. .. Note:: ``b2`` is case-sensitive; it is important that all the
  9. parts shown in **bold** type above be entirely lower-case.
  10. For a description of other options you can pass when invoking
  11. ``b2``, type::
  12. b2 --help
  13. In particular, to limit the amount of time spent building, you may
  14. be interested in:
  15. * reviewing the list of library names with ``--show-libraries``
  16. * limiting which libraries get built with the ``--with-``\
  17. *library-name* or ``--without-``\ *library-name* options
  18. * choosing a specific build variant by adding ``release`` or
  19. ``debug`` to the command line.
  20. .. Note:: Boost.Build can produce a great deal of output, which can
  21. make it easy to miss problems. If you want to make sure
  22. everything is went well, you might redirect the output into a
  23. file by appending ``>build.log 2>&1`` to your command line.
  24. Expected Build Output
  25. ---------------------
  26. During the process of building Boost libraries, you can expect to
  27. see some messages printed on the console. These may include
  28. * Notices about Boost library configurationfor example, the Regex
  29. library outputs a message about ICU when built without Unicode
  30. support, and the Python library may be skipped without error (but
  31. with a notice) if you don't have Python installed.
  32. * Messages from the build tool that report the number of targets
  33. that were built or skipped. Don't be surprised if those numbers
  34. don't make any sense to you; there are many targets per library.
  35. * Build action messages describing what the tool is doing, which
  36. look something like:
  37. .. parsed-literal::
  38. *toolset-name*.c++ *long*\ /\ *path*\ /\ *to*\ /\ *file*\ /\ *being*\ /\ *built*
  39. * Compiler warnings.
  40. In Case of Build Errors
  41. -----------------------
  42. The only error messages you see when building Boostif anyshould
  43. be related to the IOStreams library's support of zip and bzip2
  44. formats as described here__. Install the relevant development
  45. packages for libz and libbz2 if you need those features. Other
  46. errors when building Boost libraries are cause for concern.
  47. __ ../../libs/iostreams/doc/installation.html
  48. If it seems like the build system can't find your compiler and/or
  49. linker, consider setting up a ``user-config.jam`` file as described
  50. `here`__. If that isn't your problem or the ``user-config.jam`` file
  51. doesn't work for you, please address questions about configuring Boost
  52. for your compiler to the `Boost.Build mailing list`_.
  53. __ http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html