From 97905f9a94b6f01429ceeebef927968e3a1de7fe Mon Sep 17 00:00:00 2001 From: Govert Versluis Date: Tue, 21 Jul 2015 14:08:33 +0200 Subject: [PATCH] Added Linux build instructions, added small note on Windows build instructions --- Getting-Started.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Getting-Started.md b/Getting-Started.md index 4a4f8ab..11cfab9 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -6,7 +6,23 @@ ./configure --cc=clang --enable-opengl --disable-vnc --disable-user --target-list=xbox-softmmu --extra-cflags="-march=native" --enable-debug make ### For Windows -It's complicated! See FK's [excellent writeup](https://docs.google.com/document/d/1vW1XAdqC4r8RP6Vfb3F3cOulVuRIDBElGZx94JlIe4c/pub). +It's complicated (and not recently tested)! See FK's [excellent writeup](https://docs.google.com/document/d/1vW1XAdqC4r8RP6Vfb3F3cOulVuRIDBElGZx94JlIe4c/pub). +### For Linux +#### Requirements: +* Python 2 +* Clang +* EGL/GL or GLX/GL + +For **Debian** most build dependencies can be installed by running: + + apt-get build-deps qemu + apt-get install libglew-dev libtxc-dxtn-s2tc0 + +If you have success with other distributions, please let us know in #xqemu on Freenode. +#### Building: + ./configure --cc=clang --enable-opengl --disable-vnc --disable-user --enable-kvm --disable-xen --with-coroutine=sigaltstack --target-list=xbox-softmmu --enable-debug --audio-drv-list=alsa --python=/usr/bin/python2 --extra-cflags="-march=native" + make +Make sure you make python point at your python2. Python 3 won't work. A version compiled with KVM can still be used with TCG, hence I'd recommend compiling with KVM. QEMU should automaticly disable the KVM compilation if your target CPU is not suitable. ## Run XQEMU