3 ms·
> So gcc, clang, and Intel's proprietary compiler are binary compatible modulo bugs. For generated code, definitely. But for example their standard libraries
by gumby 5y ago
> So gcc, clang, and Intel's proprietary compiler are binary compatible modulo bugs.
For generated code, definitely. But for example their standard libraries are different so you still can't, say, compile something in gcc that uses std::string and expect to be able to link it to something compiled with clang that uses std::string unless you are careful to use the headers (and .a files) of the same libc++ or libstdc++
I consider this a feature, not a bug -- diversity in implementation is a plus.