[LLVMdev] Problems compiling for new back-end

Anton Korobeynikov anton at korobeynikov.info
Fri Nov 26 01:14:39 PST 2010


Hello Per,

> ...and the output has the x86_64 triple and datalayout anyway. How are you
> supposed to develop new back-ends if neither compiler can cross-compile?
> Target is a DSP, so native compile is entirely impossible.
clang support for cross-compilation definitely requires alot of care.
It the meantime you can forward a target triplet to clang via
-ccc-host-triple hidden command line option.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list