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