WSL Instructions

This commit is contained in:
gojimmypi 2026-07-13 15:33:03 -07:00
parent a266aafa1e
commit cdd4776fda
No known key found for this signature in database
GPG Key ID: 639047583FF666BA
1 changed files with 27 additions and 2 deletions

View File

@ -218,6 +218,31 @@ Alternatively, if you want to build it by hand:
Windows
=======
WSL
---
.. code-block:: bash
sudo apt install \
mingw-w64 \
libz-mingw-w64-dev \
clang \
lld \
cmake \
pkg-config \
p7zip-full
cmake -S . -B build-win64-cross \
-DCMAKE_TOOLCHAIN_FILE="$PWD/cmake/Toolchain-x86_64-w64-mingw32.cmake" \
-DWINDOWS_CROSSCOMPILE=ON \
-DCROSS_COMPILE_DEPS=ON \
-DCMAKE_BUILD_TYPE=Release
cmake --build build-win64-cross --parallel "$(nproc)"
file build-win64-cross/openFPGALoader.exe
MSYS2 (Native Build)
--------------------