also same for pure C, except worse because there are no good pure C compilers on Windows
-
@a1ba clang does it good@GNUxeava but then Clang requires MSVC installation to have it in ABI compatible mode.
I'm somewhat dreaming of MinGW with Clang, that would be able to link with binaries compiled for MSVC. And also generate compatible PDB. -
@GNUxeava but then Clang requires MSVC installation to have it in ABI compatible mode.
I'm somewhat dreaming of MinGW with Clang, that would be able to link with binaries compiled for MSVC. And also generate compatible PDB.@a1ba that is never happening -
@a1ba that is never happening@GNUxeava you see why I think there is no good compilers on Windows?
-
@GNUxeava you see why I think there is no good compilers on Windows?@a1ba yes
but what is wrong with msvc? -
@a1ba yes
but what is wrong with msvc?@GNUxeava the first two letters in it, that's what's wrong with msvc.
Their compiler is bad at both standards and optimizations. -
@GNUxeava the first two letters in it, that's what's wrong with msvc.
Their compiler is bad at both standards and optimizations.@GNUxeava especially in C. It took them many years to at least figure out C99. And I'm not saying about these bad parts of C99, but usual stuff that all compilers support these days. -
@GNUxeava but then Clang requires MSVC installation to have it in ABI compatible mode.
I'm somewhat dreaming of MinGW with Clang, that would be able to link with binaries compiled for MSVC. And also generate compatible PDB. -
@mo @GNUxeava the thing is, you can actually mix MSVC and MinGW built binaries... as long they're C.
It's the C++ ABI that's incompatible.
>(sometimes gcc and clang on the same system also disagrees how to pack bytes, lol)
Interesting. Can you show me an example? I'm very interested in keeping binary compatibility with software built many years ago (which is usually Half-Life mods, with often lost or unavailable source code). -
@mo @GNUxeava the thing is, you can actually mix MSVC and MinGW built binaries... as long they're C.
It's the C++ ABI that's incompatible.
>(sometimes gcc and clang on the same system also disagrees how to pack bytes, lol)
Interesting. Can you show me an example? I'm very interested in keeping binary compatibility with software built many years ago (which is usually Half-Life mods, with often lost or unavailable source code).@a1ba I'm referring to this article
https://faultlore.com/blah/c-isnt-a-language/#c-doesnt-actually-have-an-abi (direct link to header you need) -
@a1ba I'm referring to this article
https://faultlore.com/blah/c-isnt-a-language/#c-doesnt-actually-have-an-abi (direct link to header you need)