This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exec and parent environment [attn tcltk maintainer]


On Thu, 2 Feb 2006, Christopher Faylor wrote:

> On Thu, Feb 02, 2006 at 05:04:42PM +0000, Eric Blake wrote:
> >$ cygcheck tclsh
> >Found: C:\cygwin\bin\tclsh.exe
> >C:/cygwin/bin/tclsh.exe
> >$
>
>   bash$ ls -l /bin/tclsh*
>   lrwxrwxrwx 1 cgf None    11 Mar 15  2005 /bin/tclsh.exe -> tclsh84.exe
>   -rwxrwxrwx 1 cgf None 16384 Sep  1  2003 /bin/tclsh84.exe
>   bash$ cygcheck /bin/tclsh84.exe
>   d:/cygwin/bin/tclsh84.exe
>     L:\WINXP\system32\KERNEL32.dll
>       L:\WINXP\system32\ntdll.dll
>     d:/cygwin/bin\cygwin1.dll
>       L:\WINXP\system32\ADVAPI32.DLL
> 	L:\WINXP\system32\RPCRT4.dll
>     d:/cygwin/bin\tcl84.dll
>       L:\WINXP\system32\USER32.dll
> 	L:\WINXP\system32\GDI32.dll
>
> I will look into fixing this.
>
> cgf

Whatever fix is made, it would be great if cygcheck output the path of
symlinks it had to chase to get the executable.  Also, outputting "Not an
executable" for scripts and such would help.

BTW:
$ cygcheck vi
Error: could not find vi
$ ls -l /usr/bin/vi
lrwxrwxrwx  1 igor Users 7 Dec 20 18:21 /usr/bin/vi -> vim.exe
$ cygcheck awk
Found: C:\cygwin\bin\awk.exe
C:/cygwin/bin/awk.exe
$ ls -l /usr/bin/awk.exe
lrwxrwxrwx  1 igor Users 8 Nov 17 18:25 /usr/bin/awk.exe -> gawk.exe

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

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]