Most components of the Iostreams library are defined entirely in header files, and can be used simply by including the appropriate headers; a few components, however, rely on separate source files. In addition, the compression filters rely on the third-party libraryes zlib and libbz2.
Instructions for obtainingThere are two ways to use these components:
libs/iostreams/build/Jamfile
. See Building with Boost.Build, below.
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)