summaryrefslogtreecommitdiff
path: root/doc/note/qemu/compile-qemu-itself.txt
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2024-09-30 18:49:24 +0200
committerAndreas Fankhauser hiddenalpha.ch2024-09-30 18:49:24 +0200
commit8abe4002c04c3e381d54ff57a2b7e2aaf551b7a3 (patch)
tree6f9c9e86f2731af3e5d414a16ae7e5d69aa0ceb8 /doc/note/qemu/compile-qemu-itself.txt
parent69782e8b126fdcd5b51e40773099c136e139a839 (diff)
parentcaf8fe34a85facf4edad8930015fbe9ae3d5f7b6 (diff)
downloadUnspecifiedGarbage-8abe4002c04c3e381d54ff57a2b7e2aaf551b7a3.zip
UnspecifiedGarbage-8abe4002c04c3e381d54ff57a2b7e2aaf551b7a3.tar.gz
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'doc/note/qemu/compile-qemu-itself.txt')
-rw-r--r--doc/note/qemu/compile-qemu-itself.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/note/qemu/compile-qemu-itself.txt b/doc/note/qemu/compile-qemu-itself.txt
new file mode 100644
index 0000000..aed0522
--- /dev/null
+++ b/doc/note/qemu/compile-qemu-itself.txt
@@ -0,0 +1,27 @@
+
+#
+# Compile qemu bullshit-free for windoof.
+#
+# [src](https://wiki.qemu.org/Hosts/W32)
+#
+#
+# WARN: This does NOT work
+#
+
+true \
+ && QEMU_URL="https://download.qemu.org/qemu-8.2.1.tar.xz" \
+ && SUDO=sudo \
+ && WORKDIR=/home/${USER:?}/work \
+ && CACHEDIR=/var/tmp \
+ && QEMU_TXZ=$(basename "${QEMU_URL:?}") \
+ && $SUDO apt install -y --no-install-recommends curl \
+ && curl -D- "${QEMU_URL:?}" -o "${CACHEDIR:?}/${QEMU_TXZ:?}" \
+ && mkdir -p "${WORKDIR:?}" \
+ && cd "${WORKDIR:?}" \
+ && tar xf "${CACHEDIR:?}/${QEMU_TXZ:?}" \
+ && cd qemu* \
+ && ./configure \
+ && make \
+ && true
+
+