Boost logo

Boost :

From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2005-05-31 17:33:12


Eric Niebler wrote:
>
> 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?

What Windows? Without further ado in a dos-prompt on WinXP:

C:>set home
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Brian Riis

Windows defines these by itself. (At least it should). Of course it'll
not point into your C:\home directory, but using it should be "portable"
across Windows versions *without* setting any environment variables.
Your user-config.jam will have to go into C:\Documents and
Settings\<your login>\, of course.

-- 
  /Brian Riis

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