64bit only on Windows?

Mike Parker aldacron at gmail.com
Sat Feb 5 01:49:05 UTC 2022


On Saturday, 5 February 2022 at 00:21:17 UTC, bauss wrote:

>
> Personally I'm mostly a Windows user myself and even after 
> using D for a decade I still find myself shooting myself in the 
> foot once in a while trying to just build a simple project.
>
> I think the biggest problem on Windows is linking. It never 
> really works out of the box.

The only Windows-specific linker errors I've encountered in all 
my years of using D have been related to linking with C libraries 
that were compiled differently than my executable, i.e., they 
were built with MinGW, or they used MSVC settings that caused 
them to link with a different version of the C runtime. That 
happens in the C world, too.

Linking on Linux has pitfalls also. The problem I've encountered 
the most is that the order that libraries are passed to the 
linker matters. I've also had issues with mistmatched libc 
versions.


More information about the Digitalmars-d mailing list