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

Anton Korobeynikov anton at korobeynikov.info
Sat Oct 15 00:13:05 PDT 2011


Hello Aaron,

> I think my biggest worry has to do with MinGW.  If the library was
> built with MinGW, then the host triple in config.h comes back as
> i686-pc-mingw.  But if I'm running on x86 Windows, I would expect to
> see i686-pc-win32 instead.
mingw triple is correct here. "-win32" is reserved for vcpp-style builds.

>  My secondary, more minor, concern is
> whether it would be strange to be running an i786 or i586 and see i686
> in the triple.
This does not matter so much. i386-mingw is also a good triple here :)

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




More information about the llvm-commits mailing list