g++ doesn't work

Eric Lilja mindcooler@gmail.com
Wed May 2 10:34:00 GMT 2007

Hugh McMaster wrote:
> Hi Darrell,
> On 02/05/07, Darrell Blake wrote:
>> I try and compile it via "g++ test.cpp -o test" but the file test.exe
>> doesn't get created and the compiler doesn't output any messages.
> You have the command syntax around the wrong way.
> It should be: g++ -o test.exe test.cpp
> Hugh

The command syntax used in the OP works just fine, Darrell needs to post 
the ouput of cygcheck -svr in an *attached* text file. He also might 
want to replace std::cout << "Test!\n"; with std::cout << "Test!" << 
std::endl; so he's sure the output buffer is flushed.

- Eric

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