[llvm-commits] [Patch] Support for host triple discovery on Windows

Anton Korobeynikov anton at korobeynikov.info
Sat Oct 15 12:30:25 PDT 2011


> Also, for my own edification: I thought the host triple was the triple
> to be used when the user doesn't specify one manually, aka the
> "default build" triple.  If that's the case, why is mingw a more
> reasonable triple than win32 for a Windows compile?  Or am I
> misunderstanding the intention of the triple?
Everything depends on how you've compiled LLVM. If you compiled it via
Visual Studio, then yes, -win32 triple is a natural choice.
However, if you build everything in mingw it's much better to default
to -mingw triple.

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




More information about the llvm-commits mailing list