<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px">After do "sudo apt-get update", the following are pass.<br style="" class=""><br style="" class="">Install the dependencies:<br style="" class=""><br style="" class=""> $ sudo apt-get install binutils clang-3.5 cmake gcc make<br style="" class=""><br style="" class="">To cross-compile for ARM, install following dependencies as well:<br style="" class=""><br style="" class=""> $ sudo apt-get install binutils-multiarch \<br style="" class=""> gcc-4.7-arm-linux-gnueabihf \<br style=""
class=""> g++-4.7-arm-linux-gnueabihf<br style="" class=""><br style="" class="">But now fail as follows,<br style="" class=""><br style="" class="">cschen@debian:~/test/libcxx-scripts$ export CROSS_COMPILING=arm<br style="" class="">cschen@debian:~/test/libcxx-scripts$ CROSS_COMPILING=arm ./scripts/compile-all.sh<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/abort_message.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_aux_runtime.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_default_handlers.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_demangle.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_exception.cpp<br style=""
class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_exception_storage.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_guard.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_handlers.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_new_delete.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_personality.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_unexpected.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_vector.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/cxa_virtual.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/exception.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/private_typeinfo.cpp<br style=""
class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/stdexcept.cpp<br style="" class="">compile: /home/cschen/test/libcxx-scripts/libcxxabi/src/typeinfo.cpp<br style="" class="">link: libc++abi.so.1.0<br style="" class="">installing ...<br style="" class="">done.<br style="" class="">-- The CXX compiler identification is Clang 3.5.0<br style="" class="">-- The C compiler identification is Clang 3.5.0<br style="" class="">-- Check for working CXX compiler: /usr/bin/clang++<br style="" class="">-- Check for working CXX compiler: /usr/bin/clang++ -- works<br style="" class="">-- Detecting CXX compiler ABI info<br style="" class="">-- Detecting CXX compiler ABI info - done<br style="" class="">-- Check for working C compiler: /usr/bin/clang<br style="" class="">-- Check for working C compiler: /usr/bin/clang -- works<br style="" class="">-- Detecting C compiler ABI info<br style="" class="">-- Detecting C compiler ABI info - done<br style=""
class="">-- Host triple: x86_64-pc-linux<br style="" class="">-- Target triple: arm-pc-linux<br style="" class="">-- Performing Test LIBCXX_HAS_STDCXX11_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_STDCXX11_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_STDCXX1Y_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_STDCXX1Y_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_FPIC_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_FPIC_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_NO_OMIT_FRAME_POINTER_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_NO_OMIT_FRAME_POINTER_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_NODEFAULTLIBS_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_NODEFAULTLIBS_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_NOSTDINCXX_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_NOSTDINCXX_FLAG - Success<br
style="" class="">-- Performing Test LIBCXX_HAS_WALL_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_WALL_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_W_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_W_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_WNO_UNUSED_PARAMETER_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_WNO_UNUSED_PARAMETER_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_WWRITE_STRINGS_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_WWRITE_STRINGS_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_WNO_LONG_LONG_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_WNO_LONG_LONG_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_PEDANTIC_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_PEDANTIC_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_WERROR_FLAG<br style="" class="">-- Performing Test
LIBCXX_HAS_WERROR_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_WNO_ERROR_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_WNO_ERROR_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_FNO_EXCEPTIONS_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_FNO_EXCEPTIONS_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_FNO_RTTI_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_FNO_RTTI_FLAG - Success<br style="" class="">-- Performing Test LIBCXX_HAS_WX_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_WX_FLAG - Failed<br style="" class="">-- Performing Test LIBCXX_HAS_NO_WX_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_NO_WX_FLAG - Failed<br style="" class="">-- Performing Test LIBCXX_HAS_EHSC_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_EHSC_FLAG - Failed<br style="" class="">-- Performing Test LIBCXX_HAS_NO_EHS_FLAG<br style="" class="">-- Performing Test
LIBCXX_HAS_NO_EHS_FLAG - Failed<br style="" class="">-- Performing Test LIBCXX_HAS_NO_EHA_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_NO_EHA_FLAG - Failed<br style="" class="">-- Performing Test LIBCXX_HAS_NO_GR_FLAG<br style="" class="">-- Performing Test LIBCXX_HAS_NO_GR_FLAG - Failed<br style="" class="">-- Looking for pthread_create in pthread<br style="" class="">-- Looking for pthread_create in pthread - found<br style="" class="">-- Looking for printf in c<br style="" class="">-- Looking for printf in c - found<br style="" class="">-- Looking for ccos in m<br style="" class="">-- Looking for ccos in m - found<br style="" class="">-- Looking for clock_gettime in rt<br style="" class="">-- Looking for clock_gettime in rt - found<br style="" class="">-- Looking for __gcc_personality_v0 in gcc_s<br style="" class="">-- Looking for __gcc_personality_v0 in gcc_s - found<br style="" class="">-- Found PythonInterp: /usr/bin/python (found
version "2.7.3") <br style="" class="">-- Configuring done<br style="" class="">-- Generating done<br style="" class="">-- Build files have been written to: /home/cschen/test/libcxx-scripts/objs-arm/libcxx<br style="" class="">Scanning dependencies of target cxx<br style="" class="">[ 3%] [ 7%] [ 11%] [ 15%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/iostream.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/future.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/algorithm.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/shared_mutex.cpp.o<br style="" class="">[ 19%] [ 23%] [ 26%] [ 30%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/optional.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/typeinfo.cpp.o<br style="" class="">[ 34%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/locale.cpp.o<br style="" class="">[ 46%]
[ 38%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/regex.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/utility.cpp.o<br style="" class="">[ 42%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/valarray.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/hash.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/bind.cpp.o<br style="" class="">[ 53%] [ 57%] [ 50%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/mutex.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/thread.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/debug.cpp.o<br style="" class="">[ 61%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/exception.cpp.o<br style="" class="">[ 65%] [ 69%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/chrono.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/strstream.cpp.o<br
style="" class="">[ 73%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/stdexcept.cpp.o<br style="" class="">[ 76%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/memory.cpp.o<br style="" class="">[ 80%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/string.cpp.o<br style="" class="">[ 84%] [ 88%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/random.cpp.o<br style="" class="">Building CXX object lib/CMakeFiles/cxx.dir/__/src/new.cpp.o<br style="" class="">[ 92%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/ios.cpp.o<br style="" class="">[ 96%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/condition_variable.cpp.o<br style="" class="">[100%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/system_error.cpp.o<br style="" class="">Linking CXX shared library libc++.so<br style="" class="">clang: warning: argument unused during compilation: '-nostdinc++'<br style="" class="">[100%] Built target cxx<br style="" class="">[100%] Built
target cxx<br style="" class="">Install the project...<br style="" class="">-- Install configuration: "Release"<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/cxxabi.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/.<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./vector<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ratio<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./queue<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./deque<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cmath<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./thread<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__locale<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./clocale<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstdlib<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cfloat<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./stdexcept<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__mutex_base<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./iostream<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./numeric<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./strstream<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./iosfwd<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./algorithm<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./array<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./iomanip<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./chrono<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__std_stream<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./istream<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__tuple_03<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./utility<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./climits<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__tree<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./locale<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstdint<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./scoped_allocator<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./atomic<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__tuple<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstring<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ctgmath<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./csetjmp<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./initializer_list<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__functional_base_03<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./new<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__functional_base<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./complex.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./string<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cassert<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./condition_variable<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__undef_min_max<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./memory<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cctype<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ctime<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./system_error<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstdarg<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./unordered_set<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ostream<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./tuple<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__config<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./typeindex<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./regex<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ext<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ext/hash_map<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ext/__hash<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ext/hash_set<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ciso646<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./list<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./mutex<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstddef<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__refstring<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./unordered_map<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./exception<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cinttypes<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./limits<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./type_traits<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./forward_list<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./sstream<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cwchar<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./stack<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./random<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ccomplex<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__debug<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./tgmath.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./streambuf<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./shared_mutex<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./typeinfo<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__split_buffer<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./bitset<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./module.modulemap<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./map<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./complex<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__hash_table<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cfenv<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./codecvt<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstdio<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./iterator<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__sso_allocator<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./valarray<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cerrno<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/android<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/android/locale_bionic.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/ibm<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/ibm/xlocale.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/ibm/limits.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/ibm/support.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/win32<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/win32/math_win32.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/win32/support.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/win32/limits_win32.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/win32/locale_win32.h<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/newlib<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/newlib/xlocale.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/solaris<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/solaris/floatingpoint.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/solaris/xlocale.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/solaris/wchar.h<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/xlocale<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/xlocale/xlocale.h<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cwctype<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./set<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./ios<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./functional<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstdbool<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__bit_reference<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./future<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__functional_03<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./fstream<br style="" class="">-- Installing:
/home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./experimental<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./experimental/optional<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./experimental/utility<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./experimental/dynarray<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./experimental/string_view<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./experimental/__config<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./csignal<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/lib/libc++.so.1.0<br style="" class="">-- Installing: /home/cschen/test/libcxx-scripts/out-arm/lib/libc++.so.1<br style="" class="">--
Installing: /home/cschen/test/libcxx-scripts/out-arm/lib/libc++.so<br style="" class="">/home/cschen/test/libcxx-scripts/libcxxabi/test/backtrace_test.cpp<br style="" class="">/home/cschen/test/libcxx-scripts/out-arm/lib/libc++abi.so: undefined reference to `_Unwind_VRS_Interpret'<br style="" class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)<br style="" class=""><br style="" class=""><br style="" class="">cschen<br style="" class=""><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div style="" class="" dir="ltr"> <font style="" class="" size="2" face="Arial"> Jonathan Roelofs <jonathan@codesourcery.com> ©ó
2014/10/3 (¶g¤) 12:35 PM ¼g¹D¡R<br style="" class=""> </font> </div> <br style="" class=""><br style="" class=""> <div style="" class=""><br style="" class="" clear="none"><br style="" class="" clear="none">On 10/3/14 10:16 AM, Dan Albert wrote:<br style="" class="" clear="none">>><br style="" class="" clear="none">>> I try to build libc++ and libc++abi for host x86_64(linux) and target<br style="" class="" clear="none">>> arm(linux) but fail.<br style="" class="" clear="none">>><br style="" class="" clear="none">> <br style="" class="" clear="none">> Failing in what way? If this isn't working out of the box, we've done<br style="" class="" clear="none">> something wrong.<br style="" class="" clear="none">Yeah, it would help to know more specifics about where you're getting stuck.<div style="" class="" id="yqtfd36448"><br style="" class="" clear="none">> <br style="" class="" clear="none">> jroelofs might
know more...</div><br style="" class="" clear="none">For my baremetal arm toolchain, I use buildit&testit for libc++abi, and<br style="" class="" clear="none">buildit&lit for libc++... Which is a bit different than what you'll get out of<br style="" class="" clear="none">using cmake for it. Also, I've customized both buildits, the testit, and<br style="" class="" clear="none">libc++'s lit config file to do this, and those changes are very specific to my<br style="" class="" clear="none">environment (I don't recommend using buildit/testit to build either library<br style="" class="" clear="none">unless you're working on porting them to a new platform. Even then, just do it<br style="" class="" clear="none">the "right way" with cmake, and don't be stupid like me ;] ).<br style="" class="" clear="none"><br style="" class="" clear="none"><br style="" class="" clear="none">Cheers,<br style="" class="" clear="none"><br style="" class=""
clear="none">Jon<br style="" class="" clear="none"><br style="" class="" clear="none">-- <br style="" class="" clear="none">Jon Roelofs<br style="" class="" clear="none"><a style="" class="" shape="rect" ymailto="mailto:jonathan@codesourcery.com" href="mailto:jonathan@codesourcery.com">jonathan@codesourcery.com</a><br style="" class="" clear="none">CodeSourcery / Mentor Embedded<div style="" class="" id="yqtfd05371"><br style="" class="" clear="none"></div><br style="" class=""><br style="" class=""></div> </div> </div> </div> </div></body></html>