> On May 3, 2016, at 9:40 PM, Chris Lattner <[email protected]> wrote:
> 
> 
>> On May 3, 2016, at 9:39 PM, Joe Groff <[email protected]> wrote:
>> 
>> 
>>> On May 3, 2016, at 9:27 PM, Chris Lattner via swift-evolution 
>>> <[email protected]> wrote:
>>> 
>>> MSVC and MinGW (again, AFAIK) use the same C ABI, and thus could be treated 
>>> as the same target.
>>> 
>> Part of the problem is that MSVC and Mingw *don't* share a C ABI or runtime. 
>> Only 'stdcall' and COM stuff from the Win32 system APIs is portable between 
>> them at the binary level. 
> 
> I thought that MinGW worked with the system libc?

There's no such thing on Windows (at least, until Windows 10, which introduced 
yet another "universal" C runtime). Older versions of mingw used to link 
against MSVCRT.DLL, which was an unsupported vintage C runtime intended for SPI 
use only, but now use their own glibc-derived C library.

-Joe
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to