顯示具有 QEMU 標籤的文章。 顯示所有文章
顯示具有 QEMU 標籤的文章。 顯示所有文章

2015年6月14日 星期日

Compile QEMU in ubuntu 14.04

To compile QEMU in ubuntu 14.04, you need to download the needed libraries first
sudo apt-get install zlib1g-dev libglib2.0-dev autoconf automake libtool
If you need to browse the execution screen via a window in host instead of using VNC, you will need to install gtk.
sudo apt-get install build-essential libgtk2.0-dev libvte-dev
Then command ./configure --target-list="What you desire" --enable-gtk.
ex: ./configure --target-list="x86_64-softmmu" --enable-gtk
Then command make, and it will make the files in some directory, ex:"x86_64-softmmmu".
Btw, you can use -j8 to accelerate with 8 threads,' there is no space between 'j' and8', unlike compiling linux kernel.