[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make and .exe Files



On Fri, Jul 18, 2003 at 07:21:58AM -0400, Earnie Boyd wrote:
>Jakob Eriksson wrote:
>>Earnie Boyd wrote:
>>
>>>
>>>At least on NT you can execute a program without a .exe suffix but if 
>>>you create a non executable file name such as a .lnk file then you're 
>>>liable to crash the OS.  I.E.: If you ``ln -s foo foo.exe'' what is 
>>>created in reality is foo.exe.lnk and when you try to execute that, it 
>>>won't work.
>>
>>
>>
>>
>>Hard link then. NT supports hard links, AFAIK.
>>``ln foo foo.exe''
>>
>
>NTFS supports hard links, and Cygwin makes use of that, however, FAT32 
>even on NT doesn't so Cygwin does some magic to make it work.  However, 
>that magic involves funny file names and file attributes that will cause 
>CreateProcess problems.

The magic that cygwin does to make hard link work on non-NTFS
filesystems is "copy the file".   There are no funny file names or file
attributes.



Reply to: