Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55863 - sandbox/variadic_templates
From: cppljevans_at_[hidden]
Date: 2009-08-29 07:38:26


Author: cppljevans
Date: 2009-08-29 07:38:25 EDT (Sat, 29 Aug 2009)
New Revision: 55863
URL: http://svn.boost.org/trac/boost/changeset/55863

Log:
Details about Boost.Build adaptation to patched compiler.

Text files modified:
   sandbox/variadic_templates/README.compiler_requirements.txt | 47 ++++++++++++++++++++++++++++++++++++++++
   1 files changed, 47 insertions(+), 0 deletions(-)

Modified: sandbox/variadic_templates/README.compiler_requirements.txt
==============================================================================
--- sandbox/variadic_templates/README.compiler_requirements.txt (original)
+++ sandbox/variadic_templates/README.compiler_requirements.txt 2009-08-29 07:38:25 EDT (Sat, 29 Aug 2009)
@@ -4,3 +4,50 @@
 bug 40092 that's mentioned here:
 
   http://gcc.gnu.org/ml/gcc-patches/2009-08/msg01217.html
+
+If you're using Boost.Build:
+
+ http://www.boost.org/doc/tools/build/doc/html/bbv2/installation.html
+
+to run tests, then your $HOME/user-config.jam file (where $HOME is
+your home directory) must make this patched compiler available with
+lines something like:
+
+#{---cut here---
+
+ using gcc
+ : 4.4_20090630_v
+ : "/home/evansl/download/gcc/4.4-20090630/install/bin/g++"
+ : <cxxflags>-I/home/evansl/prog_dev/boost-svn/ro/sandbox-rw/variadic_templates
+ <cxxflags>-std=gnu++0x
+ ;
+
+#}---cut here---
+
+The <cxxflags>-I... assures the variadic_templates/boost directory
+takes precedence over the boost-trunk/boost directory. Of course you
+will have to change that to your particular path.
+
+The tests can then be compiled as shown below:
+
+#{---cut here---
+-*- mode: compilation; default-directory: "~/prog_dev/boost-svn/ro/sandbox-rw/variadic_templates/libs/mpl/test/" -*-
+Compilation started at Sat Aug 29 06:39:05
+
+bjam toolset=gcc-4.4_20090630_v unpack_args
+sh: icpc: not found
+docutils-dir=
+tools-dir= /usr/bin/rst2html.py
+...patience...
+...found 362 targets...
+...updating 5 targets...
+common.mkdir ../../../../../../../../bin.v2/prog_dev/boost-svn/ro/sandbox-rw/variadic_templates/libs/mpl/test/unpack_args.test
+common.mkdir ../../../../../../../../bin.v2/prog_dev/boost-svn/ro/sandbox-rw/variadic_templates/libs/mpl/test/unpack_args.test/gcc-4.4_20090630_v
+common.mkdir ../../../../../../../../bin.v2/prog_dev/boost-svn/ro/sandbox-rw/variadic_templates/libs/mpl/test/unpack_args.test/gcc-4.4_20090630_v/debug
+gcc.compile.c++ ../../../../../../../../bin.v2/prog_dev/boost-svn/ro/sandbox-rw/variadic_templates/libs/mpl/test/unpack_args.test/gcc-4.4_20090630_v/debug/unpack_args.o
+**passed** ../../../../../../../../bin.v2/prog_dev/boost-svn/ro/sandbox-rw/variadic_templates/libs/mpl/test/unpack_args.test/gcc-4.4_20090630_v/debug/unpack_args.test
+...updated 5 targets...
+
+Compilation finished at Sat Aug 29 06:39:10
+
+#}---cut here---


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk