delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/02/06:24:42

X-Spam-Check-By: sourceware.org
Message-ID: <813e5f920705020324p6f421c06g702e85f1c3f05748@mail.gmail.com>
Date: Wed, 2 May 2007 20:24:14 +1000
From: "Hugh McMaster" <dasjournal AT gmail DOT com>
To: darrell AT dunmanifestin DOT co DOT uk, cygwin AT cygwin DOT com
Subject: Re: g++ doesn't work
In-Reply-To: <15c45fbc0705020230u7c1645b7r7935256125838b80@mail.gmail.com>
MIME-Version: 1.0
References: <15c45fbc0705020230u7c1645b7r7935256125838b80 AT mail DOT gmail DOT 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

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

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019