[PATCH] libcxx + MingW: correct printout of long doubles

Anton Korobeynikov anton at korobeynikov.info
Sun Oct 6 08:07:08 PDT 2013

> In addition, clang -mingw32 clang actually produces assembler code and calls
> on gcc to compile the assembler to object and link it while with -win32 it
> creates object by itself and calls upon link.exe to link, (possibly using
> lld in the future). So -win32 should be faster than -mingw32.
Patches are welcome. Someone should just need to make sure there are
no unsupported COFF stuff for -mingw32 and call gcc / ld only for

> I now think that the first priority should be -win32 since - flawed or not -
> it is THE standard with Windows for others to follow.
This is the common misconception (look for mailing list archives for
prior discussion on this topic).

Maybe it will be better to rename -win32 / -win64 target triplets to
-msvc32 -/ - msvc64 to make the distinction clear from the beginning

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

More information about the cfe-commits mailing list