This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: g++ doesn't work


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/


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