emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb-ui almosts works in NT


From: Eli Zaretskii
Subject: Re: gdb-ui almosts works in NT
Date: Mon, 31 Mar 2003 21:17:35 +0200

> Date: Mon, 31 Mar 2003 11:38:06 -0500
> From: Jonathan Luntz <address@hidden>
> 
> Yes - I used mingw to compile:
> C:> g++ --version
> g++ (GCC) 3.2 (mingw special 20020817-1)
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> 
> My code is very simple:
> 
> #include <iostream>
> using namespace std;
> int main()
> {
>   int i;
>   for (i=3D1; i<100; i++) {
>     //printf("hello world %i\n",i);
>     cout << "hello world " << j << "\n";
>   }
> }
> 
> neither printf nor cout work.

I suspect that this is due to how the Windows runtime implements
inherited handles (as opposed to Unix, which is what GDB and Emacs
basically assume).

Unfortunately, I don't know enough about MinGW and the Windows runtime
routines, so I'd suggest asking this question on the MinGW mailing
list.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]