Most components of the Iostreams library are defined entirely in header files. These components can be used without linking to any library, provided the preprocessor symbol BOOST_IOSTREAMS_NO_LIB
is defined.
In addition:
<libs/iostreams/src/memmap.cpp>
.
<libs/iostreams/src/file_descriptor.cpp>
.
<libs/iostreams/src/zlib.cpp>
, and depend on the non-boost library zlib ([Gailly]). See here for details on obtaining zlib binaries.
<libs/iostreams/src/bzip2.cpp>
, and and depend on the non-boost library libbz2 ([Seward]). See here for details on obtaining libbz2 binaries.
The Jamfile included with the Iostreams library is sensitive to the following environment variables.
Variable | Interpretation | Default |
---|---|---|
ZLIB_DYN_LINK |
Indicates that the zlib and gzip Filters should link to zlib dynamically. | - |
ZLIB_PATH |
Search path for the zlib library file. | - |
ZLIB_BINARY |
Name of the zlib library file, minus file extension. | zlib |
LIBBZ2_PATH |
Search path for the libbz library file. | - |
LIBBZ2_BINARY |
Name of the libbz2 library file, minus file extension. | libbz |
NO_ZLIB |
Set to indicate that the zlib and gzip Filters should not be built. | - |
NO_LIBBZ2 |
Set to indicate that the bzip2 Filters should not be built. | - |
NO_COMPRESSION |
Set to indicate that none of the compression Filters should be built. | - |
Revised 20 May, 2004
© Copyright Jonathan Turkanis, 2004
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)