Merge pull request #692 from gojimmypi/pr-wsl

Add WSL Instructions
This commit is contained in:
Gwenhael Goavec-Merou 2026-07-15 00:13:37 +02:00 committed by GitHub
commit c8452092f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 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) MSYS2 (Native Build)
-------------------- --------------------