<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">OK, thank you.<BR><BR>Are there some pre-built X86 binaries for LLVM-gcc for ARM? It yes, where can I download from?<BR><BR>Thank you,<BR>Corina<BR><BR>--- On <B>Sun, 1/17/10, Rafael Espindola <I><espindola@google.com></I></B> wrote:<BR><BLOCKQUOTE STYLE='border-left-color: #1010ff; border-left-width: 2px; border-left-style: solid; margin-left: 5px; padding-left: 5px'><BR>From: Rafael Espindola <espindola@google.com><BR>Subject: Re: [LLVMdev] LLVM-gcc for ARM<BR>To: "corina s" <corina_fff@yahoo.com><BR>Cc: llvmdev@cs.uiuc.edu, anton@korobeynikov.info<BR>Date: Sunday, January 17, 2010, 9:35 AM<BR><BR><DIV class="plainMail">> llvm-gcc a.c<BR>> a.c:1:19: error: stdio.h: No such file or directory<BR>> a.c: In function ‘main’:<BR>> a.c:4: warning: incompatible implicit declaration of built-in function ‘printf’<BR><BR>This is
provided by libc. Do you have an ARM libc? You should<BR>configure llvm-gcc with --with-sysroot pointing to the libc install<BR>directory. If you are building from scratch, you have to<BR><BR>*) Build binutils<BR>*) Build llvm-gcc<BR>*) Use that to build a libc (newlib, glibc, etc)<BR>*) Build a new llvm-gcc that can use that libc<BR><BR>Cheers,<BR>--<BR>Rafael Ávila de Espíndola<BR></DIV></BLOCKQUOTE></td></tr></table><br>