OS Manuals

/usr/bin/b2

Boost development tools

From boost-tools 1.92.0-r4 (os), captured 2026-11-05 by running b2 -help (exit 0). permalink

Unable to load B2
-----------------
No '' was found by searching for:
  /usr/bin/.b2/build-system.jam
  /usr/share/b2/build-system.jam
  /usr/share/b2/src/build-system.jam
  /usr/build-system.jam
  /usr/bin/src/build-system.jam
  /usr/bin/tools/build/src/build-system.jam
  /usr/bin/src/build-system.jam
  /usr/src/build-system.jam
  /src/build-system.jam

Please consult the documentation at 'https://www.bfgroup.xyz/b2/'.

USAGE:
  b2 [[<request>...]] [-?|-h] [-v] [-a] [-n] [-p <x>] [-q] [--keep-going <x>] [-j|--jobs <x>] [-g] [-l <x>] [-m <x>] [-d <x>] [-o <x>] [-t <x>] [-s <x=y>] [-f <x>] [--debug-configuration] [--b2db-internal-debug-handle <h>] [--command-database <format>] [--command-database-out <filename>]

OPTIONS, ARGUMENTS:
  -?, -h                  Display invocation help.
  -a                      Build all targets, even if they are current.
  -d <x>                  Set the debug level to x (0-13,console,mi).
  -f <x>                  Read x instead of bootstrap.
  -g                      Build from newest sources first.
  -j, --jobs <x>          Run up to x shell commands concurrently.
  -l <x>                  Limit actions to x number of seconds after which they are stopped. [default: 0]
  -m <x>                  Maximum target output saved (kb), default is to save all output.
  -n                      Don't actually execute the updating actions.
  -o <x>                  Mirror all output to file x.
  -p <x>                  x=0, pipes action stdout and stderr merged into action output.
  -q                      Quit quickly as soon as a target fails.
  -s <x=y>                Set variable x=y, overriding environment.
  -t <x>                  Rebuild x, even if it is up-to-date.
  -v                      Print the version of jam and exit.
  --b2db-internal-debug-handle <h>
                          Internal debugger.
  --command-database <format>
                          Output a compile commands database as format.
  --command-database-out <filename>
                          Filename to output the command database to. A relative path for the filename is rooted to the project build-dir.
  --debug-configuration   Display additional debugging information related to locating and loading Boost Build configuration files.
  --keep-going <x>        Specify if we continue to build after failures or not (--keep-going=no is equivalent to -q)
  [<request>...]          Targets, requirements, etc.
Options (20)
OptionDescriptionSource
-?, -hDisplay invocation help.help
-aBuild all targets, even if they are current.help
-d xSet the debug level to x (0-13,console,mi).help
-f xRead x instead of bootstrap.help
-gBuild from newest sources first.help
-j, --jobs xRun up to x shell commands concurrently.help
-l xLimit actions to x number of seconds after which they are stopped.help
-m xMaximum target output saved (kb), default is to save all output.help
-nDon't actually execute the updating actions.help
-o xMirror all output to file x.help
-p xx=0, pipes action stdout and stderr merged into action output.help
-qQuit quickly as soon as a target fails.help
-s x=ySet variable x=y, overriding environment.help
-t xRebuild x, even if it is up-to-date.help
-vPrint the version of jam and exit.help
--b2db-internal-debug-handle hInternal debugger.help
--command-database formatOutput a compile commands database as format.help
--command-database-out filenameFilename to output the command database to.help
--debug-configurationDisplay additional debugging information related to locating and loading Boost Build configuration files.help
--keep-going xSpecify if we continue to build after failures or not (--keep-going=no is equivalent to -q)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.