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

NAKAMURA Takumi geek4civic at gmail.com
Tue Sep 25 22:46:57 PDT 2012


On Posix host,

  - Hard links waste very little disk spaces.
  - tar(1) can mark 2nd linked file as "hard linked". It can be
extracted by Win32 tar.exe.

On Win32 host,

  - 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.
---
 llvm/Makefile.rules |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile.rules-PR13921-Use-hard-link-to-create-c.patch.txt
Type: text/x-patch
Size: 1392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120926/eeb41ddd/attachment.bin>


More information about the cfe-commits mailing list