Hi all,

    I am trying to compile clang for Android arm64-v8a, which is exactly 
the one used in NDK.
What I am interested is how Google modified the compiler based on the 
official LLVM.
I used the following command:

=== 
repo init -u https://android.googlesource.com/platform/manifest -b llvm  
repo sync
python external/clang/build.py
===
The building was successful, but out/install/linux-x86/clang-dev/bin/clang 
was for x86_64 instead of arm64-v8a, although the version seemed to be 
correct.
===
Android clang version 4.0.285906  (based on LLVM 4.0.285906)
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: /home/frank/tmp/out/install/linux-x86/clang-dev/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
===
Would someone please tell me if this (platform/external/clang) is the 
correct source to build the clang in NDK, and how could I build the correct 
arm64-v8a cross compiler?
Thanks.
Frank

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to