.exe magic reloaded
Al
oss.elmar@googlemail.com
Sun Sep 5 14:28:00 GMT 2010
I came accross the following. These two files existed.
/home/prefix/gentoo/bin/tr.exe
/home/prefix/gentoo/usr/bin/tr -> /home/prefix/gentoo.bin/tr.exe
So we have a symblic link to an executable from a different directory.
Perls configuration script detected /home/prefix/gentoo/usr/bin/tr and
called it as /home/prefix/gentoo/usr/bin/tr.exe. That didn't work.
Obviously the .exe magic does not work for symbolic links from a
different directory.
I solved that by adding a second symbolic link
/home/prefix/gentoo/usr/bin/tr.exe.
What is the best way to go here?
* Adapting all scripts that behave like Perls configuration.
* Always adding both forms of symbolic links (program and program.exe)
* Making .../bin and .../usr/bin the same directory by means of a hardlink.
* Extending Cygwins .exe magic to work for that kind of symblic links.
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