Received: from eggs.gnu.org ([2001:4830:134:3::10]:49084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3hSI-0005Ak-R9 for qemu-devel@nongnu.org; Thu, 16 Jan 2014 02:33:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3hSB-0000bb-Rk for qemu-devel@nongnu.org; Thu, 16 Jan 2014 02:33:34 -0500 Received: from nm15.bullet.mail.ird.yahoo.com ([77.238.189.68]:42103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3hSB-0000bS-G6 for qemu-devel@nongnu.org; Thu, 16 Jan 2014 02:33:27 -0500 References: <1389824272.75645.YahooMailNeo@web173205.mail.ir2.yahoo.com> <20140116063921.GC14680@stefanha-thinkpad> Message-ID: <1389857606.14344.YahooMailNeo@web173202.mail.ir2.yahoo.com> Date: Thu, 16 Jan 2014 07:33:26 +0000 (GMT) From: Herbei Dacian In-Reply-To: <20140116063921.GC14680@stefanha-thinkpad> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="979763960-622025324-1389857606=:14344" Subject: Re: [Qemu-devel] edit qemu with eclipse Reply-To: Herbei Dacian List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: "qemu-devel@nongnu.org" --979763960-622025324-1389857606=:14344 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable thank you Stefan!=0A=0A=0A=0A=0A=0A=0AOn Thursday, 16 January 2014, 7:39, S= tefan Hajnoczi wrote:=0A =0AOn Wed, Jan 15, 2014 at 10= :17:52PM +0000, Herbei Dacian wrote:=0A=0A> Is there any way to edit qemu s= ources as eclipse projects?=0A> I could also edit in another IDE but I'm fa= miliar only with eclipse.=0A=0AI'm sure it's possible but most developers u= se the shell (bash, zsh,=0Aetc) and text editor (vim, emacs, etc) of their = choice instead.=0A=0AI don't use Eclipse but in general:=0A1. Run "cd qemu = && ./configure" from a shell to prepare for building=0A=A0 QEMU=0A2. Impor= t the QEMU source tree into Eclipse so the .c and .h files are=0A=A0 in yo= ur project.=A0 Now you can browse/edit the code.=0A3. Configure the project= build settings to invoke make.=A0 Don't try to=0A=A0 use the IDE's build = support because QEMU has a custom build system=0A=A0 and it probably won't= work.=0A=0AYou may also be able to set up git integration in the IDE but I= don't=0Aknow how that works.=0A=0AStefan --979763960-622025324-1389857606=:14344 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
thank you Stefan!



On Thursday, 16 January 2014,= 7:39, Stefan Hajnoczi <stefanha@gmail.com> wrote:
=
On Wed, Jan 15, 2014 at 10:17:52PM +0000, = Herbei Dacian wrote:

> Is there any way to edit qemu sources as eclipse projects?<= br clear=3D"none">> I could also edit in another IDE but I'm familiar on= ly with eclipse.


I'm sure it's possible= but most developers use the shell (bash, zsh,
etc) and t= ext editor (vim, emacs, etc) of their choice instead.
I don't use Eclipse but in general:
1. Ru= n "cd qemu && ./configure" from a shell to prepare for building
  QEMU
2. Import the QEMU source tre= e into Eclipse so the .c and .h files are
  in your= project.  Now you can browse/edit the code.
3. Conf= igure the project build settings to invoke make.  Don't try to
  use the IDE's build support because QEMU has a custom bu= ild system
  and it probably won't work.

You may also be able to set up git integration= in the IDE but I don't
know how that works.

Stefan



--979763960-622025324-1389857606=:14344--