stderr doesn't work in gdb?

2011-11-05 Thread Phan, Linh H (3443)
Hi Ryan, how do I get the snapshot to try? I got the cygwin just this week and I thought that was the latest. Thanks, Linh >> it seems there is a problem with stderr when running a program under gdb in >> cygwin 1.7.9 with 64 bit Windows 7; > This was fixed some time ago. You might try a s

stderr doesn't work in gdb?

2011-11-05 Thread Phan, Linh H (3443)
Hi, it seems there is a problem with stderr when running a program under gdb in cygwin 1.7.9 with 64 bit Windows 7; eg, if I run this program: #include main() { fprintf(stderr,"stderr does not print out.\n"); fprintf(stdout,"Only stdout does print out.\n"); } (gdb) r Only stdout does pri

xemacs font problem?

2010-01-19 Thread Phan, Linh H (343H)
Hi, I've just updated the latest cygwin-1.7, and I have this problem when I'm in emacs shell (M-x shell): emacs-shell% gcc -g test.c test.c: In function \200\230main\200\231 test.c:21: error: \200\230mqd\200\231 (first use in this function) test.c:21: error: (Each undeclared identifier is repo

wrap around problem for "double"?

2009-12-19 Thread Phan, Linh H (343H)
Hi, I was wondering why when "double" is assigned into a "short int" in cygwin 1.7, it doesn't wrap around correctly, eg: main () { short int x; int y = -63757; double y2 = -63757; x = y; // wraps around correctly going from int to short int printf("%d (should be 1779)\n",x); x =

RE: OpenGL-1.1.0 link problem (glXMakeCurrent undefined symbols)

2008-12-09 Thread Phan, Linh H
OpenGL-1.1.0 link problem (glXMakeCurrent undefined symbols) "Phan, Linh H" wrote: > Hi, Hi Linh, > I'm trying to port OpenInventor code and using the new opengl-1.1.0 and I > am getting > undefined _glXMakeCurrent symbols: > /usr/bin/CC -g Main.o ClassDef.o Man.

OpenGL-1.1.0 link problem (glXMakeCurrent undefined symbols)

2008-12-08 Thread Phan, Linh H
Hi, I'm trying to compile OpenInventor using the new opengl-1.1.0 and I am getting undefined _glXMakeCurrent symbols: /usr/bin/CC -g Main.o ClassDef.o Man.o Reader.o Writer.o BuildIssues.o -lInventor -lstdc++ -L/usr/X11R6/lib -L/usr/local/lib -limage -ljpeg -liconv -lFL -lfreetype -l