This patch adds Clang driver support for the AIX platform. This allows Clang to be used for compiling code / checking for errors, but does not allow for building executables, as AIX uses XCOFF and not ELF.
After applying this patch and the underlying D18359:
$ clang -v clang version 3.8.0 (tags/RELEASE_380/final) Target: powerpc-ibm-aix7.1.0.0 Thread model: posix InstalledDir: /tmp/llvm-3.8/bin Found candidate GCC installation: /tmp/gcc-4.8/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5 Selected GCC installation: /tmp/gcc-4.8/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5 Candidate multilib: .;@maix32 Candidate multilib: ppc64;@maix64 Selected multilib: .;@maix32
Are we really supposed to define this macro? Does GCC define this? I cannot find where it does so in the source.