.exe magic reloaded

Al oss.elmar@googlemail.com
Mon Sep 6 09:54:00 GMT 2010


It does not:

> It does:
>
>  $ cd tmp
>  $ mkdir dir1 dir2
>  $ cp /bin/echo.exe dir1
>  $ ln -s `pwd`/dir1/echo.exe dir2/echo
>  $ ls -l dir*
>  dir1:
>  total 52
>  -rwxr-xr-x 1 corinna vinschen 49166 2010-09-06 10:59 echo.exe
>
>  dir2:
>  total 1
>  lrwxrwxrwx 1 corinna vinschen 31 2010-09-06 11:00 echo -> /home/corinna/tmp/dir1/echo.exe
>  $ dir2/echo hello
>  hello
>  $ /home/corinna/tmp/dir2/echo hello
>  hello
>

$ /home/corinna/tmp/dir2/echo.exe hello
bash: /home/corinna/tmp/dir2/echo.exe: No such file or directory

That's what Perls "Configure" does. Still the magic works only in the
target directory, but not on the level of the symlink itself.

Al

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



More information about the Cygwin mailing list