large Windows mingw64 project in C99 --- need ABI compatible D compiler

welkam wwwelkam at gmail.com
Wed May 20 19:08:38 UTC 2020


On Wednesday, 20 May 2020 at 18:53:01 UTC, NonNull wrote:
> Which D compiler should be used to be ABI compatible with 
> mingw32? And which to be ABI compatible with mingw64?
I am not expert here but doesnt all C compilers have the same 
ABI? If yes then compile your code in 32 bits for 32 bit C obj 
files. If you are on 64 bit OS then D compilers will produce 64 
bit executables by default. To change that use 
https://dlang.org/dmd-linux.html#switch-m32





More information about the Digitalmars-d-learn mailing list