chiark / gitweb /
Support Clang as a `cross-tool' and use it under Android.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 18 Sep 2019 18:50:03 +0000 (19:50 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 18 Sep 2019 21:25:30 +0000 (22:25 +0100)
commit782ca2698a5c3f06ab595f901b417492cf053b1b
treecb6c70acacfbc6895ec63ead7175149d39765e1b
parentc65bb1c114c13b52fda23774fef035117cf2f7d4
Support Clang as a `cross-tool' and use it under Android.

Add the necessary machinery to use Clang instead.  Annoyingly, the
Android NDK doesn't name its Clang wrappers with the usual GNU
architecture triples, so there's an exciting amount of hacking to be
done.

What I don't have yet is a principled way to configure which compiler
should get chosen for a given build.
android-cross-setup.sh.in
etc/android-cross-config.site
etc/android.sh
linux-cross-setup.sh.in
linux-native-setup.sh.in
src/crosstool.in
tools/cross-clang [new symlink]
tools/cross-clang++ [new symlink]