On Thu, Mar 12, 2009 at 8:39 PM, Sandeep Patel <span dir="ltr"><<a href="mailto:deeppatel1987@gmail.com">deeppatel1987@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Attached is the patch I've been building arm-eabi with, which might<br>
help with linux-gnueabi. I disable multilib to get around several bugs<br>
with thumb. I build cross binutils first, then llvm, then llvm-gcc<br>
with newlib merged in.<br>
<br>
The following bugs need to be addressed for these non-Darwin ARM targets:<br>
1388<br>
2313<br>
2545<br>
2985</blockquote><div><br>Sandeep, many thanks!  I was able to build a cross-compiler using your patch (with a minor change) and ran "hello world" in Qemu-ARM after compiling and linking it on x86_64.  I put the list of outstanding bugs on a wiki page for tracking and reference:  <a href="http://google2.osuosl.org/wiki/index.php/HowTo:_LLVM-based_cross_compiler">http://google2.osuosl.org/wiki/index.php/HowTo:_LLVM-based_cross_compiler</a><br>
<br>I'll try to get the patch committed to llvm-gcc piece-meal.  It looks like part of the patch includes the fix for <a href="http://llvm.org/PR2545">http://llvm.org/PR2545</a> -- Chris said he's OK with the patch being committed, is there any reason it hasn't been applied yet?  Does anyone mind if I do?<br>
<br>Misha<br></div></div>