wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Building on Windows (#567)


From: @rockdaboot
Subject: Re: wget2 | Building on Windows (#567)
Date: Sun, 14 Nov 2021 11:19:50 +0000



Tim Rühsen commented:


re Prebuilt binaries: yes, I am working on it (slowly, as time is limited 
currently).

So the CI already builds the dynamic .exe file in a docker container.
To build the docker itself locally, clone 
https://gitlab.com/gnuwget/build-images and run `docker build -f 
docker-debian-mingw/Dockerfile .`.
Inside the container, the CI executes what you find inside wget2's 
`.gitlab-ci.yml` under `MinGW64` (make sure you set the env variables from the 
top of the yml file). The cache itself doesn't matter - if it isn't there, the 
build is just slower.

But you are right, we should a dockerfile to build a static wget2.exe. It 
shouldn't be too much work. I could do that on the next weekends, but can't 
really test the result as I don't own a Windows license.

On Debian you need the package `mingw-w64` which is a meta package that should 
install all you need.
But see the `debian-mingw/Dockerfile` from the build-images repository for 
details.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/567#note_732631068
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]