dud: A dub replacement

kinke noone at nowhere.com
Wed Nov 27 00:24:11 UTC 2019

On Tuesday, 26 November 2019 at 21:19:58 UTC, H. S. Teoh wrote:
> 	Error: failed to locate link.exe
> Where am I supposed to get link.exe?

You're supposed to consult the dedicated Wiki page linked by 
tchaloupka above (also linked in DMD 2.089 and LDC 1.18 release 
notes) in such a case, where you can read up on the used 
cross-linker, the -link-internally switch, and that it's 
supported in *official* prebuilt packages (i.e., the GitHub 
downloads, we don't officially support any distros). If you don't 
want to or cannot use the official package, then you can also 
install an external lld and use it via -linker=lld-link.

On Monday, 25 November 2019 at 23:46:31 UTC, H. S. Teoh wrote:
> Oooh very nice!!  That's wonderful to hear.  So you're saying 
> LDC out-of-the-box can cross-compile from Linux to Windows 
> directly?

Almost out of the box as mentioned; Windows targets are 
particularly simple (no need for a cross-gcc/clang toolchain). 
This has been possible for over 2 years now (LDC v1.3); the MS 
libs aren't required anymore starting with LDC v1.13. Glancing 
over the release notes does pay off sometimes. ;)

More information about the Digitalmars-d-announce mailing list