Skip to content

Windows? #605

Answered by jc00ke
RenegadeMaster asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to compile for Windows from my Debian machine with the following:

> sudo apt install mingw-w64
> CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go build ./cmd/litestream

I then copied the litestream.exe file to my super locked down Windows laptop and was able to successfully restore a database.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by RenegadeMaster
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants