<br>
<div class="gmail_quote">On Tue, Dec 30, 2008 at 9:55 AM, Misha Brukman <span dir="ltr"><<a href="mailto:brukman@gmail.com">brukman@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="gmail_quote">
<div>I've reproduced the same error on my x86/Linux system (the first macro is undefined).  I suspect if I go ahead and also add it, I'll continue to the next error you found.  One might guess that since this cross-tool build is so broken, that it's likely not used by the folks targeting the ARM backend.<br>
</div></div></blockquote>
<div> </div>
<div> Using LLVM 2.0, somehow it was possible to generate llvm-gcc for ARM. Around the time when 2.0 was released, Apple was interested in ARM backend, so I guess similar versions (e.g., 2.1) would work too.</div>
<div> </div>
<div> When we build a cross-compiler, there are multiple steps involved (e.g., binutils, initial compiler, runtime library, final compiler). Since ARM is not officially supported in LLVM (we need to focus on an architecture and optimze for it), one way would be porting AST-to-LLVM coverter to GNU ARM compiler. Still who'll pay this cost is a question because even in CE industry no one use GCC for ARM in production stage. </div>

<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="gmail_quote">
<div><span></span><br>The folks developing on ARM instead might be using QEMU to emulate ARM on x86, and run it as a regular (not cross) compiler in that environment.  In fact, looking at the nightly tester runs, I've noticed one of the ARM nightly testers seems to run in QEMU:<br>
<br>Nickname:shark-qemu-armv5tel<br>uname:Linux shark-armel 2.6.24-rc7 #1 Wed Jan 16 02:28:08 CET 2008 armv5tel GNU/Linux<br><a target="_blank" href="http://llvm.org/nightlytest/machine.php?machine=335">http://llvm.org/nightlytest/machine.php?machine=335</a> <br>
<br>However, some other nightly testers may be running cross-compilers (but are probably still running the tests via QEMU or similar emulator):<br><br>Nickname:lauro-armv6-N800<br>uname:Linux laurov-laptop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux<br>
<a target="_blank" href="http://llvm.org/nightlytest/machine.php?machine=172">http://llvm.org/nightlytest/machine.php?machine=172</a><br></div></div><br>Nickname:lauro-armv5te-softfloat<br>uname:Linux laurov-desktop 2.6.17-11-generic #2 SMP Tue Mar 13 23:32:38 UTC 2007 i686 GNU/Linux<br>
<a target="_blank" href="http://llvm.org/nightlytest/machine.php?machine=121">http://llvm.org/nightlytest/machine.php?machine=121</a><br><br>Perhaps the owner(s) of these nightly testers would know how to do what you're trying to accomplish.<br>
<font color="#888888"><br>Misha<br></font><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a target="_blank" href="http://llvm.cs.uiuc.edu/">http://llvm.cs.uiuc.edu</a><br>
<a target="_blank" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br><br></blockquote></div><br>