build-from-source-tail.rst 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. Boost.Build will place the Boost binaries in the ``stage``\ |/|
  5. subdirectory of your `build directory`_.
  6. .. Note:: ``bjam`` is case-sensitive; it is important that all the
  7. parts shown in **bold** type above be entirely lower-case.
  8. For a description of other options you can pass when invoking
  9. ``bjam``, type::
  10. bjam --help
  11. In particular, to limit the amount of time spent building, you may
  12. be interested in:
  13. * reviewing the list of library names with ``--show-libraries``
  14. * limiting which libraries get built with the ``--with-``\
  15. *library-name* or ``--without-``\ *library-name* options
  16. * choosing a specific build variant by adding ``release`` or
  17. ``debug`` to the command line.
  18. Expected Build Output
  19. ---------------------
  20. During the process of building Boost libraries, you can expect to
  21. see some messages printed on the console. These may include
  22. * Notices about Boost library configuration—for example, the Regex
  23. library outputs a message about ICU when built without Unicode
  24. support, and the Python library may be skipped without error (but
  25. with a notice) if you don't have Python installed.
  26. * Messages from the build tool that report the number of targets
  27. that were built or skipped. Don't be surprised if those numbers
  28. don't make any sense to you; there are many targets per library.
  29. * Build action messages describing what the tool is doing, which
  30. look something like:
  31. .. parsed-literal::
  32. *toolset-name*.c++ *long*\ /\ *path*\ /\ *to*\ /\ *file*\ /\ *being*\ /\ *built*
  33. * Compiler warnings.
  34. In Case of Build Errors
  35. -----------------------
  36. The only error messages you see when building Boost—if any—should
  37. be related to the IOStreams library's support of zip and bzip2
  38. formats as described here__. Install the relevant development
  39. packages for libz and libbz2 if you need those features. Other
  40. errors when building Boost libraries are cause for concern.
  41. __ ../../libs/iostreams/doc/installation.html
  42. If it seems like the build system can't find your compiler and/or
  43. linker, consider setting up a ``user-config.jam`` file as described
  44. in the `Boost.Build documentation`_. If that isn't your problem or
  45. the ``user-config.jam`` file doesn't work for you, please address
  46. questions about configuring Boost for your compiler to the
  47. `Boost.Build mailing list`_.
粤ICP备19079148号