www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/22/20:27:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 22 Feb 2004 20:27:27 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: Alvyn Liang <sacch DOT liang AT msa DOT hinet DOT net>
Subject: Re: [cygwin-g95] Interfere with the original binary files
In-Reply-To: <Pine.GSO.4.56.0402222015070.29632@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.56.0402222020320.29632@slinky.cs.nyu.edu>
References: <000e01c3f9a9$6a144b50$1701a8c0 AT Alvyn> <Pine DOT GSO DOT 4 DOT 56 DOT 0402222015070 DOT 29632 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Sun, 22 Feb 2004, Igor Pechtchanski wrote:

> On Mon, 23 Feb 2004, Alvyn Liang wrote:
>
> > I don't know if this is proper to place here. alright
> > the installation of g95 can make your former binary hided...
> > in
> >
> > $ cygcheck -srv
> >
> > I found these two message:
> >
> > Warning: d:\cygwin\tmp\g95\bin\cpp.exe hides d:\cygwin\bin\cpp.exe
> > Warning: d:\cygwin\tmp\g95\bin\gcc.exe hides d:\cygwin\bin\gcc.exe
> >
> > Just a note for ppl who stuck here, maybe someone will just like me
> > searching for a solution by searching engines
> >
> > the results just like the following
> >
> > $ gcc test1.c
> > gcc: installation problem, cannot exec `cc1': No such file or directory
> >
> > I think the cygwin will always remember the last time it execute some file,
> > so that unless you restart the console it will continue to find the old
> > successful one.
> >
> > Alvyn
>
> Cygwin does no such thing.

... but some shells may, though I doubt it's the case here.  While you're
in the bash man page, read about the 'hash' builtin.
HTH,
	Igor

> Read up on the PATH environment variable:
>
> PAGER='less +1017' man bash
>
> You can change the PATH by using "export PATH=<somevalue>".  You (or some
> script) probably prepended "/tmp/g95/bin" to your PATH.  Starting a new
> shell sets PATH to its default value (not that simple, but close enough),
> which doesn't contain that directory.
>
> FWIW, if you'd attached the output of "cygcheck -svr" to your message,
> instead of simply quoting choice bits from it, it would have helped
> confirm the above.
>         Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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