4 ms·
> C doesn’t actually have an ABI. Or even defined type layouts This isn't the problem it appears to be. D's ImportC adjusts its semantics to match what we call
by WalterBright 4y ago
> C doesn’t actually have an ABI. Or even defined type layouts
This isn't the problem it appears to be. D's ImportC adjusts its semantics to match what we call the "associated C compiler", which is the predominant one on the target platform.
- pjmlp 4y agoActually how would it work with lets say, using a D compiler in HP-UX, trying to link against binaries produced by aCC?
- WalterBright 4y agoIf HP-UX was a supported system by D, and aCC is the system compiler for HP-UX, it would be made to work. ImportC already makes adjustments for Microsoft C on Windows, Digital Mars C, and the dialect of C used on the Mac.
- pjmlp 4y agoI see, thanks.