Crosscompile to Windows
Luis
luis.panadero at gmail.com
Mon Nov 8 23:44:57 UTC 2021
On Monday, 8 November 2021 at 01:16:25 UTC, rikki cattermole
wrote:
>
> On 08/11/2021 11:34 AM, Imperatorn wrote:
>> On Sunday, 7 November 2021 at 22:19:08 UTC, russhy wrote:
>>> If i remember correctly, all you have to do is:
>>>
>>> dub build --arch=x86_64-pc-windows-msvc --compiler=ldc2
>>
>> Is this information on dub.pm? If not, we should add it. 🌟
>
> This is compiler specific.
>
> The arch triple is only supported for ldc. If you tried that
> with gdc it would error out.
It should work with the last version of DMD :
https://dlang.org/changelog/2.098.0.html#target
More information about the Digitalmars-d-learn
mailing list