This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: g++ iostream broken on windows 2000
"Brian Keener" <bkeenerReMoVeAnTiSpAm@thesoftwaresource.com> wrote in message VA.00000e68.00c54369@thesoftwaresource.com">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/