added documentation about librt

This commit is contained in:
Arvid Norberg
2008-05-15 18:51:19 +00:00
parent df2389219a
commit 9d44707ebf
2 changed files with 14 additions and 0 deletions

View File

@@ -188,6 +188,13 @@ the runtime, but on windows you can do both. Example::
your release executables with the ``debug-symbols=on`` option, and
later strip your executable with ``strip``.
.. warning::
Some linux systems requires linking against ``librt`` in order to access
the POSIX clock functions. If you get an error complaining about a missing
symbol ``clock_gettime``, you have to give ``need-librt=yes`` on the
bjam command line. This will make libtorrent link against ``librt``.
The build targets are put in a directory called bin, and under it they are
sorted in directories depending on the toolset and build variant used.