Re: Problem compiling cpp programs with gcc-3.2-1

2002-10-29 Thread Dockeen
> gcc -O2 -mno-cygwin -mwindows short.cpp \ > -lkernel32 -luser32 -lgdi32 -lwinspool \ > -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 \ > anv.res -o short Note also that if you are going to compile a C++ program, you should use g++, not gcc as your above. Among other things

Re: Problem compiling cpp programs with gcc-3.2-1

2002-10-29 Thread CBFalconer
Mark Schoenberg wrote: > > Thank you for your rapid and thorough reply. Here is the slighly > more sophisticated program which just pops up a window and exits > upon IDCANCEL. The compilation output to the command > > gcc -O2 -mno-cygwin -mwindows short.cpp \ > -lkernel32 -luser32 -lgdi32 -lwin

Re: Problem compiling cpp programs with gcc-3.2-1

2002-10-28 Thread Mark Schoenberg
Dear Danny, From your analysis of the problem I presented, I concluded that including the libstdc++.a library when compiling cpp programs with gcc-3.2-1, might solve the problem. I tried this and can now report the following. The command gcc -O2 -mno-cygwin -mwindows short.cpp \ -lkernel3

Re: Problem compiling cpp programs with gcc-3.2-1

2002-10-28 Thread Mark Schoenberg
Dear Danny, Thank you for your rapid and thorough reply. Here is the slighly more sophisticated program which just pops up a window and exits upon IDCANCEL. The compilation output to the command gcc -O2 -mno-cygwin -mwindows short.cpp \ -lkernel32 -luser32 -lgdi32 -lwinspool \ -lcomdlg32 -l

Re: Problem compiling cpp programs with gcc-3.2-1

2002-10-28 Thread Danny Smith
From: Mark Schoenberg To: cygwin at cygwin dot com Date: Mon, 28 Oct 2002 20:51:59 +1900 > The problems described below appeared after I upgraded to the latest > versions of the cygwin release. It disappeared w