This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc does nothing


I just installed gcc under Cygwin.  I tried to compile the requisite "Hello,
world!" program, but gcc didn't give any messages, nor generate any output. 
Here are the specifics:

Code:
#include <iostream>

using namespace std;

int main (void) {
        cout << "Hello, world!";
        return 0;
}

Compiler command:
gcc -o hello hello.cpp

gcc version: 3.4.4

Thanks for your help.

Bill

P.S.:  I've also tried g++ and c++ instead of gcc, to no avail.
-- 
View this message in context: http://www.nabble.com/gcc-does-nothing-tf3341149.html#a9292367
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]