delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/31/01:30:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=BAYES_00,FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Roger Head <rlincolnh AT yahoo DOT com>
Subject: Win2k Command Window Can't Execute G++
Date: Sun, 31 May 2009 05:26:07 +0000 (UTC)
Lines: 24
Message-ID: <loom.20090531T045341-42@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 All,

I'm a noob to Cygwin and all things non-Windows. I installed Cygwin on my Win2k 
system (a couple of hiccups, but nothing major), then installed the GCC. When 
that completed, I did g++ -v in a bash window, and got the expected response. I 
am *sure* (99% anyway) that I was also able to do it in a normal CMD window amd 
get the identical response. I then proceeded to install X-Windows with no 
problems, and it appears to work (i.e. can bring up calc, etc). However, if I 
now try to invoke g++ from a CMD window I get the usual message '... not 
recognized as an internal or external command ...blah blah blah'. It still 
works in a bash window.

Am I dreaming that I was able to use it in a CMD window before installing X 
Windows, or has something been changed during that installation? If so, what?

I have done all the above while logged on as Administrator. After the initial 
Cygwin installation I had to manually add \Cygwin\bin and \Cygwin\usr\bin to 
the PATH. That hasn't been altered. It doesn't matter what directory I am in 
when using the CMD window, g++ isn't recognized.

I would sure appreciate some help.

Roger



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