Re: Make and .exe Files

Earnie Boyd <[email protected]> Fri, 18 Jul 2003 07:21:58 -0400
Newsgroups gmane.linux.debian.ports.windows
Message-ID <[email protected]>
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.

Earnie.