g++ iostream broken on windows 2000

Alex Vinokur alexvn@connect.to
Wed Sep 17 06:21:00 GMT 2003


"Brian Keener" <bkeenerReMoVeAnTiSpAm@thesoftwaresource.com> wrote in message news:VA.00000e68.00c54369@thesoftwaresource.com...
[snip]
> $ gcc -g -o ./debug/first.exe ./first.cpp
[snip]

To compile C++ program one should use g++ (not gcc).
For instance,
$ g++ -g -o ./debug/first.exe ./first.cpp

To compile C program one should use gcc.
For instance,
$ gcc -g -o ./debug/first2.exe ./first2.c

   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================






--
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/



More information about the Cygwin mailing list