[ https://issues.apache.org/jira/browse/STDCXX-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554324 ]
Farid Zaripov commented on STDCXX-430: -------------------------------------- Steps for the building boost with stdcxx. 1. build the all build types of the stdcxx with BUILDDIR=%stdcxx_build_dir%/%buildtype% 2. extract the boost sources and apply attached boost-1.34.1.patch 3. build bjam executable by invoking %boostdir%/tools/jam/src/build.sh (build.bat for Windows) and copy the built bjam excutable from %boostdir%/tools/jam/src/bin.linux86 (%boostdir%/tools/jam/src/bin.ntx86 for Windows) to some directory in the path i.e. /usr/local/bin (C:\windows for Windows) 4. edit %boostdir%/tools/build/v2/user-config.jam file to configure the available toolsets and tools and add the line for configuring the stdcxx: using stdcxx : %stdcxx_version% : %stdcxx_root_dir% %stdcxx_build_dir% ; I.e. for linux add the following lines: using gcc ; using python ; using stdcxx : 4.2.0 : /usr/src/stdcxx-4.2.0 /usr/tmp/stdcxx-4.2.0 ; I.e. for windows add the following lines: using msvc ; using python : 2.5 : C:/Python25 ; using stdcxx : 4.2.0 : C:/stdcxx-4.2.0 C:/build/stdcxx-4.2.0 ; 5. build the requested boost libraries by invoking bjam from %boostdir%, i.e.: bjam --v2 --toolset=msvc-7.1 stdlib=stdcxx-4.2.0 variant=release link=static runtime-link=static threading=single address-model=32 stage or bjam --v2 --toolset=gcc stdlib=stdcxx-4.2.0 variant=debug link=shared runtime-link=shared threading=multi address-model=64 stage 6. install the built boost libraries: bjam --v2 --toolset=msvc-7.1 stdlib=stdcxx-4.2.0 variant=release link=static runtime-link=static threading=single address-model=32 install or bjam --v2 --toolset=gcc stdlib=stdcxx-4.2.0 variant=debug link=shared runtime-link=shared threading=multi address-model=64 install > building Boost with stdcxx > -------------------------- > > Key: STDCXX-430 > URL: https://issues.apache.org/jira/browse/STDCXX-430 > Project: C++ Standard Library > Issue Type: Improvement > Components: External > Affects Versions: 4.2.0 > Reporter: Martin Sebor > Assignee: Farid Zaripov > Priority: Critical > Fix For: 4.2.1 > > Attachments: boost-1.34.1.patch > > > This is a placeholder issue to make it possible and easy to build the Boost > libraries on top of stdcxx. > Each stdcxx bug revealed by Boost must have an issue. The issue should be > linked to this one. > Changes contributed to Boost (such as stdcxx .jam files) should be tracked as > subtasks of this issue. > Each bug in Boost should be filed in the Boost bug tracking database and > cross-referenced in comments on this issue. > See the following threads for details of the project: > http://www.mail-archive.com/stdcxx-dev@incubator.apache.org/msg02910.html > http://www.mail-archive.com/stdcxx-dev@incubator.apache.org/msg03089.html > http://www.mail-archive.com/stdcxx-dev@incubator.apache.org/msg03410.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.