IBM Support

XL C/C++ V8.0 - Modification to Boost Libraries V1.32

Product documentation


The modification file contains source changes for the Boost 1.32.0 libraries so they will work with XL C/C++ V8.0.


About this modification file
This modification file is provided as a convenience to IBM XL C/C++ V8.0 customers who want to use the Boost 1.32.0 libraries in their application development. Use it to modify the Boost 1.32.0 libraries so they will work with the XL C/C++ compiler. The modification file does not extend or otherwise provide additional functionality to the Boost libraries.

IBM does not warrant or offer formal support for this modification file.

Installing the modification file
To build and use the Boost 1.32.0 libraries with the XL C/C++ compiler, you must first make a number of changes to the Boost source code. These source code changes are contained in a modification file that you can download and then apply using the patch utility provided by the operating system. The modification file provided for download on this page has been tested only with Boost release 1.32.0.

To use the modification file, you must perform the following steps:

1. Download Boost 1.32.0 from
2. Extract the files from the package. Files will be created in the relative directory boost_1_32_0/.
3. Download boost_modfile.txt from the link provided further down in this page.
4. Run the command patch -p0 < boost_modfile.txt from the directory level immediately above boost_1_32_0/ to apply the necessary changes to the Boost source code.

Download packages and information

Release date
31 Aug 2006
License Information
16 Nov 2005
International License Agreement
16 Nov 2005
Boost V1.32.0 - Regression Test Results with XL C/C++ Enterprise Edition V8.0 for AIX
31 Aug 2006
Boost V1.32.0 - Regression Test Results with XL C/C++ Advanced Edition V8.0 for Linux (RHEL4)
05 Dec 2005
Boost V1.32.0 - Regression Test Results with XL C/C++ Advanced Edition V8.0 for Linux (SLES9)
05 Dec 2005

Additional information
XL C/C++ V8.0 has been tested with Python Versions 2.3.5 and 2.4. Earlier versions, such as Python Version 2.2, will not work.

You need to set the following environment variables when performing the python tests:

  • export PYTHON_ROOT=<path>
  • export PYTHON_VERSION=<path>

    The following environment variables may also need to be set if you have installed Boost components in non-standard directory locations. Please refer to the Boost Python documentation for more detailed information.

  • export PYTHON_LIB_PATH=<path>
  • export PYTHON_INCLUDES=<path>

    Boost Python also access the shared library The path to this library also needs to be set through the LIBPATH variable:

  • export LIBPATH=<path>

    If you intend to run the built-in boost test harness, you should add the above environment variable settings near the beginning of the boost/tools/regression/ script.

    The html reporting is extremely sensitive to how your directory paths are specified. Using soft links may cause the reporting to fail. Specifically, if you have a soft link for boost_root and the name expands into a longer or shorter name, then there will be a problem in finding the $boost_root/bin/boost/status directory where the data for all the reported xmls are stored.

    To fix this, append the actual path of boost_root (not the path alias or soft link) to the compiler_status command before the arguments for the two html files. Alternatively, fix boost_root to point at the actual path, and not the soft link or the path alias.

  • Document information

    More support for: XL C/C++

    Software version: 8.0

    Operating system(s): AIX, Linux

    Software edition: Enterprise

    Reference #: 7006786

    Modified date: 16 November 2005

    Translate this page: