opengisch / OSGeo4A

OSGeo4A is a build environment to cross-compile opensource GIS software for android devices
MIT License
30 stars 22 forks source link

Use clang as default compiler #12

Closed m-kuhn closed 4 years ago

m-kuhn commented 8 years ago

With android ndk 11, gcc is deprecated and clang is recommended.

Sidenotes: These notes are not directly related to clang but to an update of the toolchain.

m-kuhn commented 8 years ago

Keep an eye on these toolchains:

https://github.com/OSVR/android-cmake/tree/libcxx

ghost commented 7 years ago

Hello,

for qscintilla under Qt5.6, you can force ANDROID_NDK_TOOLCHAIN_VERSION variable to match TOOLCHAIN_VERSION. This seems to work for Qt5.6.1 and NDK 13 (at least, it does compile qscintilla): qmake use 4.9 toolchain directory instead of default 4.8.