On Thu, Nov 30, 2000 at 02:53:25PM +0100, Akim Demaille wrote:
: | This test will report `' on Cygwin caused by some Cygwin magic.  Even though
: | the file is named `conftest.exe', doing `ls conftest' will return `conftest',
: | and doing `test -f conftest' will return true.  Doing a plain `ls' will not
: | return that virtual file, though.  You therefore need to "test for" (read: ls)
: | the .exe extension first.
: 
: Lars, what's the point?  I'm lost.  If conftest is OK, why do you want
: conftest.exe?

I doubt it is OK.  You probably don't want to tell non-cygwin utilities to output
to `program' instead of `program.exe'.  If you end up with a `program' file and not
the intended `program.exe' (given that the utility understands your request at all),
you are then f***ed when you move the binaries to another system without Cygwin.

  Lars J

Reply via email to