After download the android source tree and following the instruction, I am able to compile the kernel and android etc.
But if I want to compile a hello world and run it on 410C, how do I use the cross compiler? I tried aarch64-linux-android-gcc but get an error of missing header file something. I guess the sysroot is not set right. What do I set the sysroot in the source tree?