SDKBOX for android compiled by clang

Hi.
I’m using clang with c++_static STL for Android.
However SDKBOX compiled by GCC and gnustl_static.
I want to recompile it.
Where can I get the source?
Or can I get the binary which compiled by clang and c++_static.

Thanks.

SDKBOX is not open-sourced at this time. I am going to ask @nite to take a look at what you have written. I am not sure what our plan is to support multiple compilers for SDKBOX.

Why do you want to use c++_static vs gnustl_static?

I think it’s required for the clang toolchain.

clang for android is still a bit problematic that’s why cocos2d-x chose to use gcc.

Hi @nite

Because I use cocos2dx and compile it from source, I used c++_static too for the STL. it would be nice if you can provide us the c++_static version. Is there any other reason you can’t do that?

Thanks,

clang for android is still stable.
The compatibility both android and ios are very good.
If you wish that I will build CI for multiple compiler build your source.

Yes, I hear you, we might support this in the future, but right now, we want to focus on make sure SDKBOX works correctly with default cocos2d-x settings.

SDKBOX now supports c++_static since 1.5 and will be automatically install the correct lib based on your Application.mk settings in 1.5.1

1 Like