Jump to page: 1 2 3
Thread overview
Cross compiling for windows from linux
Jan 21, 2021
deadalnix
Jan 21, 2021
kinke
Jan 21, 2021
rikki cattermole
Jan 21, 2021
deadalnix
Jan 21, 2021
Rikki Cattermole
Jan 21, 2021
deadalnix
Jan 21, 2021
Adam D. Ruppe
Jan 21, 2021
Bastiaan Veelo
Jan 21, 2021
deadalnix
Jan 21, 2021
Paolo Invernizzi
Jan 21, 2021
H. S. Teoh
Jan 25, 2021
Matthew
Jan 25, 2021
H. S. Teoh
Jan 25, 2021
Matthew
Jan 25, 2021
H. S. Teoh
Jan 22, 2021
RazvanN
Jan 23, 2021
deadalnix
Jan 23, 2021
Adam D. Ruppe
Jan 23, 2021
H. S. Teoh
Jan 22, 2021
Walter Bright
Jan 23, 2021
Jacob Carlborg
January 21, 2021
Pretty much all is in the title.

I wanted to do this, and I don't even know where to begin. What are the options available?

Thanks in advance,

Amaury

PS: Glad to be back in D land. Hi everybody! I missed you!
January 21, 2021
The only option is LDC (GDC doesn't support Windows). See https://wiki.dlang.org/Cross-compiling_with_LDC.
January 22, 2021
On 22/01/2021 1:15 AM, kinke wrote:
> The only option is LDC (GDC doesn't support Windows). See https://wiki.dlang.org/Cross-compiling_with_LDC.

dmd should also work via wine (note: 64bit should also work now thanks to mingw libs).
January 21, 2021
On Thursday, 21 January 2021 at 12:19:03 UTC, rikki cattermole wrote:
> On 22/01/2021 1:15 AM, kinke wrote:
>> The only option is LDC (GDC doesn't support Windows). See https://wiki.dlang.org/Cross-compiling_with_LDC.
>
> dmd should also work via wine (note: 64bit should also work now thanks to mingw libs).

Is there an install guide somewhere? I don't have a GUI, so I can't use the installer.
January 21, 2021
On Thursday, 21 January 2021 at 12:39:19 UTC, deadalnix wrote:
> Is there an install guide somewhere? I don't have a GUI, so I can't use the installer.

No idea.

I'd just use the zip file.

http://downloads.dlang.org/releases/2.x/2.095.0/dmd.2.095.0.windows.zip
January 21, 2021
On Thursday, 21 January 2021 at 12:52:24 UTC, Rikki Cattermole wrote:
> On Thursday, 21 January 2021 at 12:39:19 UTC, deadalnix wrote:
>> Is there an install guide somewhere? I don't have a GUI, so I can't use the installer.
>
> No idea.
>
> I'd just use the zip file.
>
> http://downloads.dlang.org/releases/2.x/2.095.0/dmd.2.095.0.windows.zip

Ok I'll figure it out. Thanks.
January 21, 2021
On Thursday, 21 January 2021 at 12:15:39 UTC, kinke wrote:
> The only option is LDC (GDC doesn't support Windows). See https://wiki.dlang.org/Cross-compiling_with_LDC.

It seems like the most straightforward way to do it, I'll try that.
January 21, 2021
On Thursday, 21 January 2021 at 12:39:19 UTC, deadalnix wrote:
> Is there an install guide somewhere? I don't have a GUI, so I can't use the installer.

Have a look at install.sh: https://dlang.org/install.html

— Bastiaan
January 21, 2021
On Thursday, 21 January 2021 at 13:39:21 UTC, deadalnix wrote:
> Ok I'll figure it out. Thanks.

The beauty of dmd (and ldc's package too) from zip is that you don't have to install it.

Just run it directly from the unzipped location.

On my linux box, I have a little helper script called dmdw that just:

#!/bin/bash

exec wine /home/me/d/windows/dmd2/windows/bin/dmd.exe -m32mscoff $*


So then I unzip dmd in ~/d/windows and boom it just works to `dmdw whatever.d` from there on.
January 21, 2021
On Thursday, 21 January 2021 at 12:12:43 UTC, deadalnix wrote:
> Pretty much all is in the title.
>
> I wanted to do this, and I don't even know where to begin. What are the options available?
>
> Thanks in advance,
>
> Amaury
>
> PS: Glad to be back in D land. Hi everybody! I missed you!

Welcome back! :-)
« First   ‹ Prev
1 2 3