3 ms·
How is the C++ binary interoperability between different gcc versions, or other compilers? I'm bit afraid, that if C++ is used more and more on the system leve
by malkia 15y ago
How is the C++ binary interoperability between different gcc versions, or other compilers?
I'm bit afraid, that if C++ is used more and more on the system level (BeOS, OSX drivers) you won't be able safely any other compiler, than the one being provided, and that one might be a bit behind.
Then again, probably nothing to worry about...
- sho_hn 15y agogcc implements the C++ ABI Intel specified for IA64 (perhaps the best thing to come out of the Itanium era) for a bunch of years now, which is generally viewed as sane and also followed by other modern C++ compilers, e.g. clang.
- malkia 15y agoAnd IA64 brings what to x86 or x64? For example on the Microsoft front there are problems, if one targets MSVCRT.DLL (then one has to link with a specific object, found in the WDK, that hanles 4 or 5 different exception schemes that went into the different MSVC compilers over the time). And then mangling of the filenames is totally different, but at least gcc can keep on reusing it (or does it)?
- sho_hn 15y agogcc uses the ABI on x86 and x86_64. msvc doesn't use the IA64 ABI.