On Jun 19 14:36, Corinna Vinschen wrote: > On Jun 19 16:01, LRN wrote: > > Cygwin emulates untyped linking (ln -s) by checking the type of the > > target and creating the link of the right type. If the target doesn't > > exist, you're screwed. > > Not really screwed. But if the target doesn't exist, you have the > choice between creating a file symlink or a directory symlink, and you > just don't know what the target will be. > > If you create a dir symlink, > and the later created target turns out to be a file or vice versa, > the *native* tools will be screwed since the path resolution mechanism > requires the symlink type to reflect the target type. > > Cygwin ignores the symlink type and resolve the symlink just by path, so > in Cygwin all symlinks will work.
Btw., this is one reason why I don't understand the desire to use native tools. If you can get a working POSIXy build environment for free, why do you want to use native tools which only generate problems you could easily do without weird tweaks to the Cygwin DLL?!? Corinna ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public