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

Aaron Ballman aaron at aaronballman.com
Sun Oct 16 08:20:47 PDT 2011


On Sat, Oct 15, 2011 at 2:30 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>> 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.

Here's my new patch -- just removing the FIXME comment, and adding one
stating what we've determined.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HostTriple.diff
Type: application/octet-stream
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111016/163952ec/attachment.obj>


More information about the llvm-commits mailing list