<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_1_1412127081941_24436">Logan and Richard,</div><div id="yui_3_16_0_1_1412127081941_24435"><br></div><div id="yui_3_16_0_1_1412127081941_24434" dir="ltr">Thank your quick and kindly help. I am busy with something else today and will try these script tomorrow.</div><div id="yui_3_16_0_1_1412127081941_24432" dir="ltr"><br></div><div id="yui_3_16_0_1_1412127081941_24433" dir="ltr">Best regards</div><div id="yui_3_16_0_1_1412127081941_24437" dir="ltr"><br></div><div dir="ltr">cschen<br></div><div id="yui_3_16_0_1_1412127081941_24431"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div dir="ltr"> <font face="Arial" size="2"> Logan Chien <tzuhsiang.chien@gmail.com> 於 2014/10/1 (週三) 1:58 AM 寫道﹕<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv7296944178"><div><div dir="ltr"><div><div><div><div><div><div><div><div>Hi cschen,<br clear="none"><br clear="none"></div>Here are the test scripts which I written when I was developing ARM exception handling support:<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="https://github.com/loganchien/libcxx-scripts">https://github.com/loganchien/libcxx-scripts</a><br clear="none"><br clear="none"></div>The script should work on Debian wheezy (cross-compiling from amd64 to armhf.)<br clear="none"><br clear="none"></div>In general, here are the necessary steps:<br clear="none"></div>1. Get a working arm-linux-gnueabihf gcc/g++ toolchain (for the headers and libraries)<br clear="none"></div>2. Setup the include search path (e.g. /usr/arm-linux-gnueabihf/include)<br clear="none"></div>3. Compile with correct compiler/linker flags (e.g. -target arm-linux-gnueabihf and some cmake tricks)<br clear="none"><br clear="none"></div>Feel free to let me know if you have encountered any problem.<br clear="none"><br clear="none"></div>Sincerely,<br clear="none">Logan<br clear="none"></div><div class="yiv7296944178gmail_extra"><br clear="none"><div class="yiv7296944178gmail_quote">On Tue, Sep 30, 2014 at 5:22 PM, Richard Pennington <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:rich@pennware.com" target="_blank" href="mailto:rich@pennware.com">rich@pennware.com</a>></span> wrote:<br clear="none"><blockquote class="yiv7296944178gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div class="yiv7296944178yqt1685863772" id="yiv7296944178yqt33726"><div><div><div class="yiv7296944178h5">
    <div>On 09/30/2014 02:37 AM, gamma_chen
      wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px;">
        <div dir="ltr">The
          following web say the libc++abi is ready on arm.</div>
        <div dir="ltr"><a rel="nofollow" shape="rect" target="_blank" href="http://libcxxabi.llvm.org/spec.html">http://libcxxabi.llvm.org/spec.html</a></div>
        <div dir="ltr"><br clear="none">
        </div>
        <div dir="ltr">I try to
          build libc++ and libc++abi for host x86_64(linux) and target
          arm(linux) but fail.</div>
        <div dir="ltr">I have read
          the web <a rel="nofollow" shape="rect" target="_blank" href="http://llvm.org/docs/HowToCrossCompileLLVM.html">http://llvm.org/docs/HowToCrossCompileLLVM.html</a></div>
        <div dir="ltr"><br clear="none">
        </div>
        <div 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 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 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 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 clear="none">
    <br clear="none">
    -Rich<br clear="none">
  </div></div>

<br clear="none">_______________________________________________<br clear="none">
LLVM Developers mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:LLVMdev@cs.uiuc.edu" target="_blank" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a rel="nofollow" shape="rect" target="_blank" href="http://llvm.cs.uiuc.edu/">http://llvm.cs.uiuc.edu</a><br clear="none">
<a 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 clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>