[cfe-commits] [PATCH][llvm][clang] Triple::{MinGW32|MinGW64} => Triple::MinGW
Duncan Sands
baldrick at free.fr
Tue Feb 15 01:49:08 PST 2011
Hi,
>>> 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
if I understand right no project understands mingw64 except for LLVM, so you are
going to remove mingw64. Also, other projects use "w64" rather than "pc" to say
... well, I'm not sure what this says, but presumably to say whatever mingw64
was trying to say; so you plan to teach LLVM about w64. Is that right?
Ciao, Duncan.
More information about the cfe-commits
mailing list