From eb50532ec88fb4c44b3e718f2d84068d8691b812 Mon Sep 17 00:00:00 2001 From: mborgerson Date: Sun, 28 Jul 2024 12:04:42 -0700 Subject: [PATCH] Add podman note --- docs/docs/dev/building-from-source.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/docs/dev/building-from-source.md b/docs/docs/dev/building-from-source.md index c0f50e36..5ae7624f 100644 --- a/docs/docs/dev/building-from-source.md +++ b/docs/docs/dev/building-from-source.md @@ -4,13 +4,14 @@ Users are recommended to use the [pre-built xemu binaries](https://xemu.app/docs ## Windows -Windows builds are cross-compiled from Ubuntu. If you would like to build *on* Windows, you can use WSL2 and Docker. See [official Docker -documentation](https://docs.docker.com/docker-for-windows/wsl/) for how to get WSL2 and Docker set up. +Windows builds are cross-compiled from Ubuntu. If you would like to build *on* Windows, you can use Windows Subsystem for Linux (WSL) and podman / Docker with the xemu build container image. + +See [here](https://learn.microsoft.com/en-us/windows/wsl/install) for details on how to install WSL. To install podman, run `sudo apt install podman-docker`. ```bash # Clone and build -git clone --recurse-submodules https://github.com/xemu-project/xemu.git -docker run -u $(id -u):$(id -g) --rm -v $PWD/xemu:/xemu -w /xemu \ +git clone https://github.com/xemu-project/xemu +docker run --rm -v $PWD/xemu:/xemu -w /xemu \ -e CCACHE_DIR=/xemu/ccache \ ghcr.io/xemu-project/xemu-win64-toolchain:latest \ ./build.sh -p win64-cross