This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc not running properly??
- From: marco atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 10 Jun 2012 08:31:50 +0200
- Subject: Re: gcc not running properly??
- References: <33987996.post@talk.nabble.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