X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Lilja Subject: Re: g++ doesn't work Date: Wed, 02 May 2007 12:34:23 +0200 Lines: 20 Message-ID: References: <15c45fbc0705020230u7c1645b7r7935256125838b80 AT mail DOT gmail DOT com> <813e5f920705020324p6f421c06g702e85f1c3f05748 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) In-Reply-To: <813e5f920705020324p6f421c06g702e85f1c3f05748@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/