Skip to contentSkip to conversation

edit qemu with eclipse

Qemu-devel Herbei Dacian 2 participants 3 messages Jan 15, 2014 – Jan 16, 2014

lore
Share & tools
lore
#0 lore raw

Hi,
Is there any way to edit qemu sources as eclipse projects? I could also edit in another IDE but I'm familiar only with eclipse. Any suggestions?
best regards,
dacian

#1 lore raw
Quoted 2 lines · Herbei Dacian

Is there any way to edit qemu sources as eclipse projects? I could also edit in another IDE but I'm familiar only with eclipse.

I'm sure it's possible but most developers use the shell (bash, zsh, etc) and text editor (vim, emacs, etc) of their choice instead.

I don't use Eclipse but in general:
1. Run "cd qemu && ./configure" from a shell to prepare for building QEMU
2. Import the QEMU source tree into Eclipse so the .c and .h files are in your project. Now you can browse/edit the code.
3. Configure the project build settings to invoke make. Don't try to use the IDE's build support because QEMU has a custom build 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

#2 lore raw

thank you Stefan!

On Thursday, 16 January 2014, 7:39, Stefan Hajnoczi <[email protected]> wrote:

Quoted 2 lines · Herbei Dacian

Is there any way to edit qemu sources as eclipse projects? I could also edit in another IDE but I'm familiar only with eclipse.

I'm sure it's possible but most developers use the shell (bash, zsh, etc) and text editor (vim, emacs, etc) of their choice instead.

I don't use Eclipse but in general:
1. Run "cd qemu && ./configure" from a shell to prepare for building QEMU
2. Import the QEMU source tree into Eclipse so the .c and .h files are in your project.  Now you can browse/edit the code.
3. Configure the project build settings to invoke make.  Don't try to use the IDE's build support because QEMU has a custom build 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