Boost logo

Boost :

Subject: Re: [boost] [EXTERNAL] Clang Darwin trunk Cray 8.0 and max_digits10 support - problem in config?
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-07-11 04:17:37


Michel Morin wrote:
> OK, so you cannot install libc++ to the standard location.
> Let's try the following and see how it goes:
>
> 1. Download and build libc++.
>
> 2. Move to "SOME_PATH/libcxx/lib" ("SOME_PATH" is the location
> where you downloaded libc++). Make a symbolic link or a copy of
> "libc++.1.dylib" as "libc++.dylib" in the same directory.
>
> 3. Copy "cxxabi.h" to "SOME_PATH/libcxx/include"
> and "libc++abi.dylib" to "SOME_PATH/libcxx/lib".
>
> 4. Run the test runner script with
> * adding "-ISOME_PATH/libcxx/include" to <cxxflags>,
> * adding "-LSOME_PATH/libcxx/lib" to <linkflags>,
> * adding "SOME_PATH/libcxx/lib" to environment variable "DYLD_LIBRARY_PATH".
> Maybe something like
> env DYLD_LIBRARY_PATH=SOME_PATH/libcxx/lib python run.py ...

Forgot to add one thing:

When compiling, command line option "-IPATH_TO_TEST_RUNNER_BOOST_ROOT"
should appear before "-ISOME_PATH/libcxx/include".
For example, user-config.jam looks something like this

using clang
  : trunk_cxx11
  : $(HOME)/Clang/build/Release+Asserts/bin/clang++
  : <cxxflags>"-std=c++0x -stdlib=libc++ -I$(HOME)/TestRunner/boost
-I$(HOME)/Clang/libcxx/include"
    <linkflags>"-stdlib=libc++ -L$(HOME)/Clang/libcxx/lib"
  ;

Regards,
Michel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk