fix debug buffer build. add new Jamfile feature for it. attempt to make it build on windows

This commit is contained in:
Arvid Norberg
2013-11-29 09:41:53 +00:00
parent f99be2455a
commit f382876832
4 changed files with 36 additions and 5 deletions

View File

@@ -298,11 +298,13 @@ Build features:
| | connections. The shipped public domain SHA-1 |
| | implementation is used. |
+--------------------------+----------------------------------------------------+
| ``pool-allocators`` | * ``on`` - default, uses pool allocators for send |
| | buffers. |
| | * ``off`` - uses ``malloc()`` and ``free()`` |
| ``allocator`` | * ``pool`` - default, uses pool allocators for |
| | send buffers. |
| | * ``system`` - uses ``malloc()`` and ``free()`` |
| | instead. Might be useful to debug buffer issues |
| | with tools like electric fence or libgmalloc. |
| | * ``debug`` - instruments buffer usage to catch |
| | bugs in libtorrent. |
+--------------------------+----------------------------------------------------+
| ``link`` | * ``static`` - builds libtorrent as a static |
| | library (.a / .lib) |