From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXow8-0000RC-8V for qemu-devel@nongnu.org; Fri, 25 May 2012 03:27:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXow6-0001lP-2K for qemu-devel@nongnu.org; Fri, 25 May 2012 03:27:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXow5-0001lB-Qg for qemu-devel@nongnu.org; Fri, 25 May 2012 03:27:45 -0400 Date: Fri, 25 May 2012 08:27:30 +0100 From: "Daniel P. Berrange" Message-ID: <20120525072730.GA11895@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] How to compile the source code to get the images and executable to run the QEMU? Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Arturo CV Cc: qemu-devel@nongnu.org On Thu, May 24, 2012 at 04:08:30PM -0600, Arturo CV wrote: > Hello, > > Am new around here and am working with the QEMU in a project. > > I would like to ask if there is anyone that can let me know how to > compile or build the images to be used to run the QEMU from the source > code. I already got the source code from the wiki.qemu.org and I have > the version 1.0.1. Now I would like to build it from there to start > doing some test with my project. > > At the beginning I was working with the version 0.14.50 but it was > already build with all the executable and everything and am having > issues when I try to put the system into an Idle state using the > "wait" so I was looking to use the newest version and go from there. > > I appreciate all the help and guidance you can give me since am kind > of newbie with this :) Ordinarily I'd suggest that for any open source project you can just read the "INSTALL" file or "README" file for instructions, but having just checked I see QEMU does not have an INSTALL file and the README is mostly useless. Sigh. About the only docs I can find on building QEMU are these: http://qemu.weilnetz.de/qemu-doc.html#compilation If you only want to build one particular architecture (eg x86_64), then my recommendation is: ./configure --target-list=x86_64-softmmu --prefix=$HOME/usr/qemu-1.0.1 make make install Then you can run it $HOME/usr/qemu-1.0.1/bin/qemu-system-x86_64 Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|