On 14 Sep 12:48, Andreas Färber wrote:
Am 13.09.2015 um 07:07 schrieb Andrei Borzenkov:
What is the reason clang is restricted to support only native targets on each platform? One of clang strength is native cross-compilation support; building clang for all targets would give us powerful alternative cross-compiler.
I have been building a branch with the Hexagon target enabled - I was told they had been disabled to avoid all those target libraries showing up when someone wants to link against the LLVM library.
+1 for enabling the cross targets, as installing a custom version of recent clang seems impossible on, e.g., 13.2 - it tries to switch half the system to 32-bit due to Mesa etc. dependencies on llvm.
For some architectures, clang is not an alternative but the only maintained Open Source cross-compiler.
I am ok with enabling all targets (at least on X86). ismail