"gcc -v -o hello2 hello.cpp" You are using gcc to compile C++ code, when you should use g++.
Wayne -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/