[android-building] Re: Can I build android with GCC?

2018-09-17 Thread bx L
Thx for reply, I switched the android version to 7.1 and found out that android is built with both prebuilt clang and gcc. I tried to switch the toolchain by modifying envsetup.sh but failed. So what is right way to force it to use the prebuilt gcc 4.9 toolchain? 在 2018年9月14日星期五

[android-building] Re: Can I build android with GCC?

2018-09-13 Thread Glenn Kasten
See https://source.android.com/setup/build/requirements#toolchain On Thursday, September 13, 2018 at 8:54:40 PM UTC-7, bx L wrote: > > Hello everyone, > I'm building Android 8.0. By default, it uses the clang toolchain. > Can I switch it to gcc toolchain, or use my own toolchain instead of