Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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:19:37 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Alvyn Liang cc: cygwin AT cygwin DOT com Subject: Re: [cygwin-g95] Interfere with the original binary files In-Reply-To: <000e01c3f9a9$6a144b50$1701a8c0@Alvyn> Message-ID: References: <000e01c3f9a9$6a144b50$1701a8c0 AT Alvyn> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 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. Read up on the PATH environment variable: PAGER='less +1017' man bash You can change the PATH by using "export PATH=". 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/