<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello,<br><br>I recompiled binutils, llvm-gcc, libc, and again llvm-gcc and now it gives me the following error:<br><br>llvm-gcc --v<br>Using built-in specs.<br>Target: arm-elf<br>Configured with:<br><br>....../ (reconfigured) ../llvm-gcc4.2-2.6.source/configure --target=arm-elf --enable-llvm=/home/LLVM/llvm-2.6/ --with-arch=armv7-a --enable-languages=c --prefix=/home/LLVM/install --enable-multilib --with-newlib --without-headers --disable-shared --with-gnu-as --with-gnu-ld --program-prefix=llvm- --disable-libssp --with-sysroot=/home/LLVM/build/arm-elf/newlib/<br><br>llvm-gcc HelloWorld.c <br>/home/LLVM/install/lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld: this linker was not configured to use sysroots<br>collect2: ld returned 1 exit status<br><br>I would appreciate some help from you.<br><br>Corina<br><br>--- On <b>Sun, 1/17/10, corina s
 <i><corina_fff@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: corina s <corina_fff@yahoo.com><br>Subject: Re: [LLVMdev] LLVM-gcc for ARM<br>To: "Rafael Espindola" <espindola@google.com>, llvmdev@cs.uiuc.edu, anton@korobeynikov.info<br>Date: Sunday, January 17, 2010, 10:57 AM<br><br><div id="yiv1234109426"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">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: 2px solid
 rgb(16, 16, 255); 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></tbody></table><br>



      </div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>LLVM Developers mailing list<br><a ymailto="mailto:LLVMdev@cs.uiuc.edu" href="/mc/compose?to=LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></div></blockquote></td></tr></table><br>