Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-01-31 14:53:21


   Hi Dennis.

> I'm trying to build boost 1_34_1 using boost-jam-3.1.16-1-ntx86 on Win
> XP with the Borland C++ 5.8.2 (BDS 2006 C++ Compiler).
>
> The documentation at
> http://www.boost.org/more/getting_started/windows.html shows the command:
>
> bjam --build-dir=build-directory --toolset=toolset-name stage
>
> in section 5.2.4 Invoke bjam.

   That command looks ok to me and should work. I tried the following c
with the boost trunk and with the 1.34.1 release and it all worked fine:

bjam stage --build-dir=aaa --toolset=msvc
bjam --build-dir=aaa --toolset=msvc stage

   On the other hand I tried the following:

bjam --build-dir=\aaa\bbb --toolset=msvc stage

and it seemed to ignore the leading \ in the path.

   I then tried :

bjam --build-dir=\\aaa\bbb --toolset=msvc stage
bjam --build-dir="\\aaa\bbb" --toolset=msvc stage
bjam "--build-dir=\\aaa\\bbb" --toolset=msvc stage

   And they all seemed to get the same effect you're seeing.

   Don't have time to look into the sources right now to see how invalid
or absolute paths are handled but is there any chance you're not typing
in your target folder correctly?

> When I use bjam --help, it displays online help that shows an option
> --builddir (note, no dash between build and dir).

   Ok, that seems to be a typo. :-) But fixed on the trunk a few days ago.

   Best regards,
     Jurko Gospodnetić


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk