<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div style="" class=""><span style="" class="">Hi,</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""><span style="" class=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span style="" class="">I install Virtual Box on Linux and install debain on VB from web,</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style:
 normal;"><span style="" class="">https://www.debian.org/releases/wheezy/</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Attached file is the source.list I follow your README.md.</div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Paste the error as follows,</div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent;
 font-style: normal;">cschen@debian:~/test/libcxx-scripts$ sudo apt-get install binutils clang-3.5 cmake gcc make<br style="" class="">[sudo] password for cschen: <br style="" class="">Reading package lists... Done<br style="" class="">Building dependency tree       <br style="" class="">Reading state information... Done<br style="" class="">E: Unable to locate package clang-3.5<br style="" class="">E: Couldn't find any package by regex 'clang-3.5'<br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">My debian version as follows,</div><div
 class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">cschen@debian:~/test/libcxx-scripts$ cat /etc/issue<br style="" class="">Debian GNU/Linux 7 \n \l<br style="" class=""><br style="" class="">cschen@debian:~/test/libcxx-scripts$ cat /proc/version<br style="" class="">Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.60-1+deb7u3<br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">I
 use Virtual Box to try it. Will it a problem with this?</div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">cschen<br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span style="" class=""><br style="" class=""></span></div> <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"> gamma_chen <gamma_chen@yahoo.com.tw> 於 2014/10/1 (週三) 5:36 AM 寫道﹕<br style="" class=""> </font> </div>  <br style="" class=""><br style="" class=""> <div style="" class=""><div style="" class="" id="yiv2748851128"><div style="" class=""><div class="" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px;"><div style="" class="" id="yiv2748851128yui_3_16_0_1_1412127081941_24436">Logan and Richard,</div><div style="" class="" id="yiv2748851128yui_3_16_0_1_1412127081941_24435"><br style="" class="" clear="none"></div><div style="" class="" dir="ltr" id="yiv2748851128yui_3_16_0_1_1412127081941_24434">Thank your quick and kindly help. I am
 busy with something else today and will try these script tomorrow.</div><div style="" class="" dir="ltr" id="yiv2748851128yui_3_16_0_1_1412127081941_24432"><br style="" class="" clear="none"></div><div style="" class="" dir="ltr" id="yiv2748851128yui_3_16_0_1_1412127081941_24433">Best regards</div><div style="" class="" dir="ltr" id="yiv2748851128yui_3_16_0_1_1412127081941_24437"><br style="" class="" clear="none"></div><div style="" class="" dir="ltr">cschen<br style="" class="" clear="none"></div><div style="" class="" id="yiv2748851128yui_3_16_0_1_1412127081941_24431"><span style="" class=""></span></div> <div style="" class=""><br style="" class="" clear="none"><br style="" class="" clear="none"></div><div class="" style="display:block;"> <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"> Logan Chien <tzuhsiang.chien@gmail.com> 於 2014/10/1 (週三) 1:58 AM 寫道﹕<br style="" class="" clear="none"> </font> </div>  <br style="" class="" clear="none"><br style="" class="" clear="none"> <div style="" class="" id="yiv2748851128yqt46938"><div style="" class=""><div style="" class="" id="yiv2748851128"><div style="" class=""><div style="" class="" dir="ltr"><div style="" class=""><div style="" class=""><div style="" class=""><div style="" class=""><div style="" class=""><div style="" class=""><div style="" class=""><div style="" class="">Hi cschen,<br style="" class="" clear="none"><br style="" class="" clear="none"></div>Here are the test scripts which I written when I was developing ARM exception handling support:<br style="" class="" clear="none"><a style="" class="" rel="nofollow" shape="rect" target="_blank"
 href="https://github.com/loganchien/libcxx-scripts">https://github.com/loganchien/libcxx-scripts</a><br style="" class="" clear="none"><br style="" class="" clear="none"></div>The script should work on Debian wheezy (cross-compiling from amd64 to armhf.)<br style="" class="" clear="none"><br style="" class="" clear="none"></div>In general, here are the necessary steps:<br style="" class="" clear="none"></div>1. Get a working arm-linux-gnueabihf gcc/g++ toolchain (for the headers and libraries)<br style="" class="" clear="none"></div>2. Setup the include search path (e.g. /usr/arm-linux-gnueabihf/include)<br style="" class="" clear="none"></div>3. Compile with correct compiler/linker flags (e.g. -target arm-linux-gnueabihf and some cmake tricks)<br style="" class="" clear="none"><br style="" class="" clear="none"></div>Feel free to let me know if you have encountered any problem.<br style="" class="" clear="none"><br style="" class=""
 clear="none"></div>Sincerely,<br style="" class="" clear="none">Logan<br style="" class="" clear="none"></div><div style="" class=""><br style="" class="" clear="none"><div style="" class="">On Tue, Sep 30, 2014 at 5:22 PM, Richard Pennington <span style="" class="" dir="ltr"><<a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:rich@pennware.com" target="_blank" href="mailto:rich@pennware.com">rich@pennware.com</a>></span> wrote:<br style="" class="" clear="none"><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div style="" class="" id="yiv2748851128yqt33726"><div style="" class=""><div style="" class=""><div style="" class="">
    <div style="" class="">On 09/30/2014 02:37 AM, gamma_chen
      wrote:<br style="" class="" clear="none">
    </div>
    <blockquote style="" class="" type="cite">
      <div class="" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px;">
        <div style="" class="" dir="ltr">The
          following web say the libc++abi is ready on arm.</div>
        <div style="" class="" dir="ltr"><a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://libcxxabi.llvm.org/spec.html">http://libcxxabi.llvm.org/spec.html</a></div>
        <div style="" class="" dir="ltr"><br style="" class="" clear="none">
        </div>
        <div style="" class="" dir="ltr">I try to
          build libc++ and libc++abi for host x86_64(linux) and target
          arm(linux) but fail.</div>
        <div style="" class="" dir="ltr">I have read
          the web <a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://llvm.org/docs/HowToCrossCompileLLVM.html">http://llvm.org/docs/HowToCrossCompileLLVM.html</a></div>
        <div style="" class="" dir="ltr"><br style="" class="" clear="none">
        </div>
        <div style="" class="" dir="ltr">Does anyone
          know whether it's available for my need? If you know how to
          build, what is the build options you use?</div>
        <br style="" class="" clear="none">
      </div>
    </blockquote></div></div>
    I use libc++ and libc++abi (as well as compiler-rt) for the ELLCC
    cross compilation tool chain project (<a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://ellcc.org/">http://ellcc.org</a>). I use
    makefiles to build the libc++ stuff, which are pretty dependent on
    being used in an ELLCC environment. You can get pre built binaries
    from <a style="" class="" rel="nofollow" shape="rect" target="_blank" href="ftp://ellcc.org/pub">ftp://ellcc.org/pub</a>. The tarballs contain pre built libraries
    for ARM (as well as Mips, x86, PowerPC, and semi-functional
    Microblaze).<br style="" class="" clear="none">
    <br style="" class="" clear="none">
    -Rich<br style="" class="" clear="none">
  </div></div>

<br style="" class="" clear="none">_______________________________________________<br style="" class="" clear="none">
LLVM Developers mailing list<br style="" class="" clear="none">
<a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:LLVMdev@cs.uiuc.edu" target="_blank" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://llvm.cs.uiuc.edu/">http://llvm.cs.uiuc.edu</a><br style="" class="" clear="none">
<a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br style="" class="" clear="none">
<br style="" class="" clear="none"></blockquote></div><br style="" class="" clear="none"></div></div></div><br style="" class="" clear="none"><br style="" class="" clear="none"></div></div>  </div> </div>  </div> </div></div></div><br style="" class=""><br style="" class=""></div>  </div> </div>  </div> </div></body></html>