Linking C++ standard library works with GDC... but not DMD. (Linux)
Jacob Carlborg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Apr 17 02:06:04 PDT 2015
On 2015-04-17 10:16, Dicebot wrote:
> Does DMD also use GCC conventions on Linux when compiling extern(C++)
> code? I didn't know that.
Not exactly sure that you mean by "conventions" but "extern(C++)" and
"extern(C)" follows the ABI of the system compiler. On Linux that is
GCC, on OS X it's Clang/GCC, on Windows it's either DMC or VS depending
on what object format is used, I guess.
DMC is not even available for any other platform than Windows.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list