[cfe-dev] clang on android

Chuanbo Weng strgnm at gmail.com
Tue Jun 25 23:15:20 PDT 2013


Our program need clang which can run on android device.
As I know, the clang in Android NDK is part of android cross compile
toolchain.
It runs on linux desktop, but not on android device.

2013/6/26 Ben Pope <benpope81 at gmail.com>

> On 26/06/13 11:13, Chuanbo Weng wrote:
>
>> Hi all,
>>
>>        As I know, clang can't run on android at current. My questions are:
>> 1. Is there some plan that porting clang to android (integrated into
>> aosp)?
>> 2. If not, maybe I have to do the porting job myself. What's the main
>> difficulty of the
>> work?
>>
>
> Just to clarify, you want to develop software on an Android device?
>
> I.e., build the clang toolchain against the Android NDK?
>
> In that case, what issues are you encountering?
>
>
> Otherwise, the Android NDK does have a version of Clang for building
> software for Android.  I strongly suspect there is a release of the NDK
> with gcc 4.8 and Clang 3.3 coming soon.
>
> Ben
>
> ______________________________**_________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/**mailman/listinfo/cfe-dev<http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130626/6af81740/attachment.html>


More information about the cfe-dev mailing list