Dockerfile with cross-compiler targeting Windows x64

kinke noone at nowhere.com
Sat Apr 7 12:24:54 UTC 2018


On Friday, 6 April 2018 at 04:08:41 UTC, Seb wrote:
>> On Thursday, 5 April 2018 at 11:46:42 UTC, Jacob Carlborg 
>> wrote:
>>> I've created a Dockerfile [1] containing LDC, configured for 
>>> cross-compiling targeting Windows x64.

Thanks for doing this.

> BTW I just tested this and it works really nicely (I even 
> managed to compile the whole DScanner for Windows (!) and it 
> runs as expected in a quick test in a virtual machine). Thanks!

Thanks for the confirmation.

> Any MS libs that can be bundled "legally"?

That's the problem. If there were, they'd be bundled with the LDC 
Windows packages, so that LDC on Windows wouldn't require a 
Visual C++ installation anymore and just work out of the box.
To avoid confusion: we're talking about the static and import 
.lib files of the Visual C++ runtime & Windows SDK, not about the 
redistributable DLLs.

The libs on DropBox are from Visual Studio 2015 Update 3, while 
the LDC 1.8 druntime/Phobos libs have been compiled with latest 
VS 2017, so this divergence could become problematic at some 
point.


More information about the Digitalmars-d-announce mailing list