
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