[llvm-dev] clang triple and clang target

Rail Shafigulin via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 11 13:20:11 PST 2016


Can someone explain what exactly a clang triple is (--triple option) and
what is the connection between triple and a target? I know there is an
article ( http://clang.llvm.org/docs/CrossCompilation.html) that show how
to cross compile code, but I'm not clear about is why I need to specify
triple, why I can't just say compile for a given target?

Any help is appreciated.

-- 
Rail Shafigulin
Software Engineer
Esencia Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160311/416c83be/attachment.html>


More information about the llvm-dev mailing list