$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Reminder about links when running b2 headers
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-12-24 23:01:06
On 12/24/2013 07:23 PM, Bjørn Roald wrote:
> On 12/25/2013 12:55 AM, Steven Watanabe wrote:
>> AMDG
>>
>> On 12/24/2013 02:15 PM, Bjørn Roald wrote:
>>> On 12/24/2013 10:49 PM, Edward Diener wrote:
>>>>
>>>>> No special target is needed. If you're
>>>>> running as an administrator, Boost.Build
>>>>> will detect that it can create symlinks.
>>>>
>>>> I assume that you mean that you plan to make it work this way. That
>>>> would be great. When I first ran '.\b2 headers' under Windows 7 I had
>>>> administrator rights but it still created hard links.
>>>
>>> He did not say it works that way now.
>>
>> It is what I meant. It worked for me
>> the last time I tried it.
>
> OK I guess you did not say what I read then :-)
>
> I am not sure what you tested, but I am pretty sure Edward refer to
> using symbolic links for individual files rather than hard links. Not
> symbolic links for directories where that can be used. The latter work
> as it should.
You are correct.
When I tried it under Windows7, even with administrative rights, the
symbolic links for directories were implemented but for individual files
I ended up with hard links. Subsequently after doing a 'git pull' and
'git submodule update' from the superproject I tried '.\b2 headers'
again with the same result. So unless it has been changed fairly
recently '.\b2 headers' doe not create symbolic links for individual files.