[LLVMdev] LLVM-gcc for ARM

corina s corina_fff at yahoo.com
Sun Jan 17 10:57:41 PST 2010


OK, thank you.

Are there some pre-built X86 binaries for LLVM-gcc for ARM? It yes, where can I download from?

Thank you,
Corina

--- On Sun, 1/17/10, Rafael Espindola <espindola at google.com> wrote:

From: Rafael Espindola <espindola at google.com>
Subject: Re: [LLVMdev] LLVM-gcc for ARM
To: "corina s" <corina_fff at yahoo.com>
Cc: llvmdev at cs.uiuc.edu, anton at korobeynikov.info
Date: Sunday, January 17, 2010, 9:35 AM

> llvm-gcc a.c
> a.c:1:19: error: stdio.h: No such file or directory
> a.c: In function ‘main’:
> a.c:4: warning: incompatible implicit declaration of built-in function ‘printf’

This is provided by libc. Do you have an ARM libc? You should
configure llvm-gcc with --with-sysroot pointing to the libc install
directory. If you are building from scratch, you have to

*) Build binutils
*) Build llvm-gcc
*) Use that to build a libc (newlib, glibc,  etc)
*) Build a new llvm-gcc that can use that libc

Cheers,
--
Rafael Ávila de Espíndola



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100117/539d9e64/attachment.html>


More information about the llvm-dev mailing list