delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Eric Lilja <mindcooler AT gmail DOT com> |
Subject: | Re: g++ doesn't work |
Date: | Wed, 02 May 2007 12:34:23 +0200 |
Lines: | 20 |
Message-ID: | <f19peo$t43$1@sea.gmane.org> |
References: | <15c45fbc0705020230u7c1645b7r7935256125838b80 AT mail DOT gmail DOT com> <813e5f920705020324p6f421c06g702e85f1c3f05748 AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
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 |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |