Initial Windows experience

Basile B. b2.temp at gmx.com
Fri Jun 14 10:05:06 UTC 2019


On Friday, 14 June 2019 at 09:03:17 UTC, Peter Alexander wrote:
> I just want to highlight 
> https://github.com/vibe-d/vibe.d/issues/1908 -- building 
> default vibe.d example applications on win32 fails due to 
> obscure optlink error. It has been like this for nearly 2 years.
>
> I am not asking for help with this issue.
>
> Win32 with optlink is the default build for dub on Windows, and 
> given that vibe.d is the most popular D project, this could 
> very well be among the first things that a D newcomer tries. If 
> I were new to D, I'd likely just give up there and assume the 
> language and tooling are immature.
>
> The thread over there says that lld is shipped now with DMD. Is 
> there any reason not to move to that and move away from 
> optlink? It seems unnecessary to maintain and debug a separate 
> linker when another more mature linker is available, working, 
> and already bundled. Are there any reasons to stick with 
> optlink as the default?

Yes +1 for -m64 by default. This gives a working, out of the box 
package when people download the 7z, just like in the past.


More information about the Digitalmars-d mailing list