Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-31 20:53:21


David Abrahams <dave_at_[hidden]> writes:

> "Eric Niebler" <eric_at_[hidden]> writes:
>
>> David Abrahams wrote:
>>> "Johan Nilsson" <r.johan.nilsson_at_[hidden]> writes:
>>>
>>>>
>>>>Actually, I think that this should be:
>>>>
>>>>set HOME=%HOMEDRIVE%%HOMEPATH%
>>>
>>>
>>> Done.
>>>
>>> I tried to create a regression test for this, but I couldn't get the
>>> test system to pass environment variable settings down to the invoked
>>> bjam process.
>>>
>>
>>
>> I think this broke my Windows build environment. I had an envar
>> HOME=C:\home, but a freshly built bjam.exe was unable to find my
>> user-config.jam until I defined HOMEDRIVE and HOMEPATH also. Was this
>> intentional?
>
> No! It's supposed to check %HOMEDRIVE%%HOMEPATH% first, then %HOME%,
> then %BOOST_BUILD_PATH%. I'll look at this.

Should be fixed now.

> Just out of curiosity: why weren't HOMEDRIVE and HOMEPATH set in your
> environment? Aren't they set up for you by Windows?

Still curious, though.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk