[llvmlinux] cross-compiling llvm/clang for android

Renato Golin renato.golin at linaro.org
Thu Sep 26 17:11:53 UTC 2013

On 26 September 2013 16:56, Anton Smirnov <dev at antonsmirnov.name> wrote:

> To be honest, i'm going to use clang only as cpp parser in order to
> provide autocomplete and syntax highlighting in my android IDE. So i don't
> need
> code generation (for ARM or any other arch) functional actually.

Do you know how to hook clang as the index builder in Eclipse?

Can i compile libclang.so for ARM-Linux on my x86_64-darwin machine
> somehow? As android is linux kernel + java libs it seems to be pretty
> possible.

Yes, with both clang and gcc, using cross-compilation options:



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130926/1e0ae94f/attachment.html>

More information about the LLVMLinux mailing list