Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ftmou-0006Yb-Cs for qemu-devel@nongnu.org; Fri, 23 Jun 2006 10:39:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ftmot-0006Y2-GP for qemu-devel@nongnu.org; Fri, 23 Jun 2006 10:39:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ftmot-0006Xw-DH for qemu-devel@nongnu.org; Fri, 23 Jun 2006 10:39:39 -0400 Received: from [209.191.124.129] (helo=web38102.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1Ftn06-0000GZ-Lq for qemu-devel@nongnu.org; Fri, 23 Jun 2006 10:51:14 -0400 Message-ID: <20060623143937.95611.qmail@web38102.mail.mud.yahoo.com> Date: Fri, 23 Jun 2006 07:39:37 -0700 (PDT) From: Tieu Ma Dau Subject: Re: [Qemu-devel] Asking about IDE to develop Qemu In-Reply-To: <46d6db660606222348i756a4c1es2aaeb624bc58ee5a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1959255231-1151073577=:91512" Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-1959255231-1151073577=:91512 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I made a new project using Eclipse (and CDT) on Windows based on Qemu 0.8.1 source code. But I had the problem "config-host.h: no such file or directory" in vl.h: #ifdef QEMU_TOOL /* we use QEMU_TOOL in the command line tools which do not depend on the target CPU type */ #include "config-host.h" //the problem arrives from this line #include #include "osdep.h" #include "bswap.h" #else #include "cpu.h" #include "gdbstub.h" #endif /* !defined(QEMU_TOOL) */ And I find that if I run the ./configure command (on Msys) before importing Qemu source code into Eclipse project, the "configure script" will generate this "config-host.h" file. So I want to ask you the questions below: 1. Do I must run the command: ./configure before importing Qemu source code into Eclipse project? If not, which steps I lacked or what I must do to fix this problem (the problem "config-host.h") 2. What does the preprocessor-option QEMU_TOOL means? 3. In file qemu-img.c, line 130, Eclipse alarms an error "syntax error before QEMU_VERSION", so I try to add "QEMU_VERSION=0.8.1" into Project->Properties->C/C++ Include paths & Symbols; but the error is still there. What can I do to fix this problem? Best regards, Thanh Christian MICHON wrote: On 6/22/06, Tieu Ma Dau wrote: > Hi all, > I'm working a project which develops Qemu running on MinGW/MSys but I don't > know which IDE I should use to develop, to test, to debug Qemu source code: http://www.eclipse.org: generic IDE in java http://www.eclipse.org/cdt: what will make eclipse become a full C/C++ IDE -- Christian _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. --0-1959255231-1151073577=:91512 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all,
I made a new project using Eclipse (and CDT) on Windows based on Qemu 0.8.1 source code. But I had the problem "config-host.h: no such file or directory" in vl.h:

#ifdef QEMU_TOOL


/* we use QEMU_TOOL in the command line tools which do not depend on
   the target CPU type */
#include "config-host.h" //the problem arrives from this line
#include <setjmp.h>
#include "osdep.h"
#include "bswap.h"

#else

#include "cpu.h"
#include "gdbstub.h"

#endif /* !defined(QEMU_TOOL) */

And I find that if I run the ./configure command (on Msys) before importing Qemu source code into Eclipse project, the "configure script" will generate this "config-host.h" file. So I want to ask you the questions below:
1. Do I must run the command: ./configure before importing Qemu source code into Eclipse project? If not, which steps I lacked or what I must do to fix this problem (the problem "config-host.h")
2. What does the preprocessor-option QEMU_TOOL means?
3. In file qemu-img.c, line 130, Eclipse alarms an error "syntax error before QEMU_VERSION", so I try to add "QEMU_VERSION=0.8.1" into Project->Properties->C/C++ Include paths & Symbols; but the error is still there. What can I do to fix this problem?
Best regards,
Thanh

Christian MICHON <christian.michon@gmail.com> wrote:
On 6/22/06, Tieu Ma Dau wrote:
> Hi all,
> I'm working a project which develops Qemu running on MinGW/MSys but I don't
> know which IDE I should use to develop, to test, to debug Qemu source code:

http://www.eclipse.org: generic IDE in java
http://www.eclipse.org/cdt: what will make eclipse become a full C/C++ IDE

--
Christian


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta. --0-1959255231-1151073577=:91512--