Skip to content

Commit

Permalink
Add podman note
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson authored Jul 28, 2024
1 parent 499d754 commit eb50532
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/docs/dev/building-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb50532

Please sign in to comment.