Cross compiling for windows from linux

Jacob Carlborg doob at me.com
Sat Jan 23 09:23:55 UTC 2021


On 2021-01-21 13:12, 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?

Here's a Dockerfile that sets up everything [1]. As you can see it's 
quite old. This is before LDC shipped with the MinGW libraries. The 
Dockerfile pulls these from someone's Dropbox account [2]. This should 
not be necessary anymore.

[1] 
https://github.com/jacob-carlborg/docker-ldc-windows/blob/master/Dockerfile

[2] 
https://github.com/jacob-carlborg/docker-ldc-windows/blob/61e01d00bd4ac45fae65c66d00db86d8afdad2fd/Dockerfile#L12

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list