#Cross Compiling for Windows on Linux

12 messages · Page 1 of 1 (latest)

normal elbow
#

Would be neat to see a binary created with this method… but otherwise pretty innovative (and involved, wow!)

dreamy geyser
#

Thanks... I have a single script i run to build for all platforms aside from mac so i found setting up a container to be better than using github actions... Am sure the same can be done using docker, will add a dockerfile config once i have tested it out

tulip rapids
dreamy geyser
wide rock
#

This is really cool 💯 does it generate correct binary like girhib actions then i try it. Must be faster also?🙏

dreamy geyser
#

yes it generates correct binary, I have tested in windows 10 and 11 VMs

tardy rivet
#

+1

wide rock
#

since all other build options failed i thought i try yours but it seems not possible to install this on osx ``` wget https://files.zerogw.com/vagga/vagga-0.8.1-86-g505b3ea.tar.xz
tar -xJf vagga-0.8.1-86-g505b3ea.tar.xz
cd vagga
chmod +x install.sh
sudo ./install.sh
echo "ubuntu-mirror: http://archive.ubuntu.com/ubuntu
external-volumes:
X11: /tmp/.X11-unix/" >~/.vagga.yaml

--2023-07-12 01:28:29-- https://files.zerogw.com/vagga/vagga-0.8.1-86-g505b3ea.tar.xz
Resolving files.zerogw.com (files.zerogw.com)... 205.185.216.42, 205.185.216.10
Connecting to files.zerogw.com (files.zerogw.com)|205.185.216.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12894480 (12M) [application/x-xz]
Saving to: ‘vagga-0.8.1-86-g505b3ea.tar.xz’

vagga-0.8.1-86-g505b3ea 100%[==============================>] 12,30M 32,6MB/s in 0,4s

2023-07-12 01:28:29 (32,6 MB/s) - ‘vagga-0.8.1-86-g505b3ea.tar.xz’ saved [12894480/12894480]

Password:
install: chmod 755 /usr/share/zsh/site-functions: Read-only file system
install: chmod 755 /usr/bin: Read-only file system
install: mkdir /usr/lib/vagga: Read-only file system
install: /usr/share/zsh/site-functions/_vagga: Read-only file system
install: /usr/lib/vagga/vagga: No such file or directory
install: /usr/lib/vagga/apk: No such file or directory
install: /usr/lib/vagga/busybox: No such file or directory
install: /usr/lib/vagga/alpine-keys.apk: No such file or directory
ln: /usr/bin/vagga: Read-only file system```

dreamy geyser
hidden heart
#

Great stuff! Did you get a chance to look at a dockerfile?

dreamy geyser