[llvmlinux] cross-compiling llvm/clang for android

Anton Smirnov dev at antonsmirnov.name
Thu Sep 26 18:04:39 UTC 2013


i've started this email with error description which i received while
following this manuals.


2013/9/26 Renato Golin <renato.golin at linaro.org>

> 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:
>
> http://clang.llvm.org/docs/CrossCompilation.html
>
> http://llvm.org/docs/HowToCrossCompileLLVM.html
>
> cheers,
> --renato
>
> _______________________________________________
> LLVMLinux mailing list
> LLVMLinux at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130927/3c9197f5/attachment.html>


More information about the LLVMLinux mailing list