summaryrefslogtreecommitdiff
path: root/docs/Writerside/topics/Windows.md
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2025-01-05 13:17:22 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2025-01-05 13:17:22 +0100
commit085d74b37b478be77bc873d66876247a751aa957 (patch)
treed8434dd9c8c57df9b64ae93059d9ebb5a16b90f2 /docs/Writerside/topics/Windows.md
parent8e7bc59509c40f00702ba568a0adcb3cf82e6e05 (diff)
parentc3dd64bdee37d361a2c1252d127fb575936e43e6 (diff)
Merge remote-tracking branch 'origin/develop' into rust-develop
Diffstat (limited to 'docs/Writerside/topics/Windows.md')
-rw-r--r--docs/Writerside/topics/Windows.md63
1 files changed, 63 insertions, 0 deletions
diff --git a/docs/Writerside/topics/Windows.md b/docs/Writerside/topics/Windows.md
new file mode 100644
index 0000000..1cb931c
--- /dev/null
+++ b/docs/Writerside/topics/Windows.md
@@ -0,0 +1,63 @@
+# Windows
+
+Building on windows has been tested on
+- `debian:bullseye` (docker tag)
+- `Ubuntu 22.04 WSL`
+
+## Install dependencies
+
+<tabs>
+<tab title="x86_64">
+<code-block>
+$ apt update
+$ apt install -y build-essential pkg-config autoconf libtool \
+ ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf \
+ gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
+</code-block>
+</tab>
+<tab title="i686">
+<code-block>
+$ apt update
+$ apt install -y build-essential pkg-config autoconf libtool \
+ ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf \
+ gcc-mingw-w64-i686 g++-mingw-w64-i686
+</code-block>
+</tab>
+</tabs>
+
+## Prepare source
+
+> If you are running in docker or have not configured git you may need to do the following:
+> ```bash
+> git config --global --add safe.directory '*'
+> git config --global user.email "ci@mrcyjanek.net"
+> git config --global user.name "CI mrcyjanek.net"
+> ```
+
+```bash
+$ git clone https://github.com/mrcyjanek/monero_c --recursive
+$ cd monero_c
+$ ./apply_patches.sh monero
+```
+
+## Building
+
+<tabs>
+<tab title="x86_64">
+<code-block>
+$ ./build_single.sh monero x86_64-w64-mingw32 -j$(nproc)
+</code-block>
+</tab>
+<tab title="i686">
+<code-block>
+$ ./build_single.sh monero i686-w64-mingw32 -j$(nproc)
+</code-block>
+</tab>
+</tabs>
+
+## Known issues
+
+### Dynamically loaded dependencies
+
+There are some dynamically loaded dependencies which are copied over from the OS package repository. All of them are
+available in `release/` directory. \ No newline at end of file