Hi all,

I'm currently successfully building the clang toolchain under the NDK 10 
under OSX.
But I'm a bit confused about how your building system is working... 
(kati,ninja,soong, etc)

As Clang rely on CMake, I was hoping to find the Clang configuration 
command used by the NDK build system, but it seems more complicated...
After digging a bit in the *.mk files, it seems that you have a separated 
build system which don't rely on the CMakefile contained in Clang sources.

I'm currently using ./external/clang/build.py to build Clang toolchain. The 
build process seems to do so many things. I mean, compiling Clang for Linux 
or OSX is as simple as calling cmake with the right parameters followed by 
make/ninja. But in the NDK, Clang compilation looks like so complicated.

So my questions are:
- How to generate a new Clang toolchain with my own Clang source code ?
- How the build system works in the NDK 10 ? What are all those compilation 
(stage1, stage2, etc) simply for generating a Clang toolchain?
- Any hint where to start searching? (any documentation, files, etc)

Thank you for your help,

Gael



-- 
-- 
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