Added Linux build instructions, added small note on Windows build instructions

Govert Versluis 2015-07-21 14:08:33 +02:00
parent e1078a3c50
commit 97905f9a94
1 changed files with 17 additions and 1 deletions

@ -6,7 +6,23 @@
./configure --cc=clang --enable-opengl --disable-vnc --disable-user --target-list=xbox-softmmu --extra-cflags="-march=native" --enable-debug ./configure --cc=clang --enable-opengl --disable-vnc --disable-user --target-list=xbox-softmmu --extra-cflags="-march=native" --enable-debug
make make
### For Windows ### 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 ## Run XQEMU