[llvm-commits] [PATCH] Makefile.rules: [PR13921] Use hard link to create clang++.exe for --host=mingw32.

NAKAMURA Takumi geek4civic at gmail.com
Wed Sep 26 01:20:29 PDT 2012


2012/9/26 Anton Korobeynikov <anton at korobeynikov.info>:
>>   - NTFS' Hard links behave like Posix, w/o any privileges.
>>   - ln(1) creates actual hard link, like Windows' mklink.exe /H.
>>   - tar(1) can extract hard links.
> On mingw / msys tar just copies file instead of doing links. So "ln
> -s" is effectively "cp"

As a fool-proof, shall we use "cp" instead of "ln" there, targetting Windows?



More information about the llvm-commits mailing list