delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_LR,TW_RW,TW_WX,TW_XR |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4FD43F56.6030700@gmail.com> |
Date: | Sun, 10 Jun 2012 08:31:50 +0200 |
From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: gcc not running properly?? |
References: | <33987996 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <33987996.post@talk.nabble.com> |
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 |
On 6/10/2012 6:53 AM, scotty85 wrote: > > I have recently installed cgywin on my windows 7 32-bit machine. > > when i run the cgywin terminal i am able to show the version with the > command gcc --version however when i try and do this in command prompt > nothing is displayed. i have set the path correctly so i don't know why > only gcc is not working as all the others in the cygwin\bin folder do. > > here is an attached screenshot of the problem if it is unclear. > http://old.nabble.com/file/p33987996/gcc.jpg gcc.jpg > > any help would be much appreciated. > on mintty you are clearly using a bash shell, while the command prompt is not a cygwin shell at all. Command prompt can not follow cygwin simlink $ which gcc /usr/bin/gcc $ ls -l /usr/bin/gcc lrwxrwxrwx 1 marco None 21 Nov 13 2011 /usr/bin/gcc -> /etc/alternatives/gcc $ ls -l /etc/alternatives/gcc lrwxrwxrwx 1 marco None 18 Mar 31 15:31 /etc/alternatives/gcc -> /usr/bin/gcc-4.exe Use mintty and bash. Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |