I know about the Fuchsia project, but so-far it can't compete with Linux or other established OSes.
Quote:
"Android 8.0 and higher support only Clang/LLVM for building the Android platform. Join the android-llvm group to pose questions and get help. Report NDK/compiler issues at the NDK GitHub.
For the Native Development Kit (NDK) and legacy kernels, GCC 4.9 included in the AOSP master branch (under prebuilts/) may also be used."
From https://source.android.com/setup/build/requirements#software...
"Removed GCC and gnustl/stlport. Added lld."
From https://android.googlesource.com/platform/ndk/+/master/docs/...
There are also a couple of Linux/Clang Conferences where Google goes through the kernel and clang changes they have done to accomplish it.
Android might have the Linux kernel under the hood, but it isn't Linux as many know it.
Not like it matters. They're replacing even that. See Fuchsia.
And that's a good thing: Fuchsia seems to have a better design (microkernel, multiserver).
Probably some leftover thinking from proprietary products that tried to apply license restrictions on the compiled output.
"GCC Runtime Library Exception"
https://www.gnu.org/licenses/gcc-exception-3.1.en.html
This document was also the inspiration for the Classpath exception in OpenJDK.
> "In the FOSS world the license of the compiler has nothing to do with the license of the compiled software".
Android already removed their dependency on GCC, following Apple's footsteps, and depending on how Fuchsia turns out, eventually the Linux kernel as well.