Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-07 Thread kinke via Digitalmars-d-announce
On Saturday, 7 April 2018 at 14:05:15 UTC, Seb wrote: Hmm how hard would it be to use the MinGW libraries like DMD is doing as a fallback since 2.079? The MinGW ones for the Windows API may do, but the VS 2010 libraries are not an option for LDC, we require at least 2015 (which introduced the

Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-07 Thread Seb via Digitalmars-d-announce
On Saturday, 7 April 2018 at 12:24:54 UTC, kinke wrote: 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 avo

Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-07 Thread kinke via Digitalmars-d-announce
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

Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-05 Thread Seb via Digitalmars-d-announce
On Thursday, 5 April 2018 at 22:10:08 UTC, WebFreak001 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. It's based on the instructions provided by kinke here [2]. Note, i

Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-05 Thread WebFreak001 via Digitalmars-d-announce
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. It's based on the instructions provided by kinke here [2]. Note, it downloads the MSVC libs from Dropbox. [1] https://github.co

Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-05 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-04-05 17:22, Joakim wrote: Nice, rather than downloading the pre-built ldc for Windows and extracting its runtime, you may be interested in cross-compiling the stdlib yourself.  The only obstacle may be that the build requires a C cross-compiler for one or two C files, but clang may be

Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-05 Thread Joakim via Digitalmars-d-announce
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. It's based on the instructions provided by kinke here [2]. Note, it downloads the MSVC libs from Dropbox. [1] https://github.co