"Brian Keener" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
[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:[EMAIL PROTECTED]
     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/

Reply via email to