[llvm-commits] [PATCH][llvm][clang] Triple::{MinGW32|MinGW64} => Triple::MinGW

NAKAMURA Takumi geek4civic at gmail.com
Tue Feb 15 01:44:05 PST 2011


On Tue, Feb 15, 2011 at 6:36 PM, Duncan Sands <baldrick at free.fr> wrote:
>> For "so-called mingw64", a few issues are there.
>>
>>   - autoconf does not know "*-mingw64".
>>   - The project "Mingw-w64" uses *-w64-mingw32 as triplet.
>>   - in llvm and clang, some parts assume Win64 as "Triple::MinGW64".
>>
>> In practice, we don't need to distinguish "MinGW32" and "MinGW64" in llvm.
>> In clang, we should not assume "x86_64-mingw" as *-w64-mingw32.
>> There is also "i686-w64-mingw32", as a variant of mingw32.
>
> what does gcc do?

Traditional Mingw assumes "i686-pc-mingw32".
Mingw-w64 assumes "x86_64-w64-mingw32" and "i686-w64-mingw32".

See also;
http://sourceforge.net/apps/trac/mingw-w64/wiki/Cross%20Win32%20and%20Win64%20compiler

...Takumi




More information about the llvm-commits mailing list