Boost logo

Boost-Build :

Subject: Re: [Boost-build] build documentation flaws
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2008-11-05 02:53:29


Hi Daniel !

An'n Mittwoch 05 November 2008 hett Daniel Krügler schreven:
> Finally, I would like to ask a question: If I correctly understand the
> bjam help, I can invoke bjam with the command line
>
> bjam root="C:\Program Files\Some_Dir" --toolset=X ..

*sigh*, that should be "toolset=X". Please omit the "--" before toolset.

> to specify the root directory of the compiler installation for a large
> set of compilers - interestingly *not* for all of them. I wonder why
> e.g. HP aC++, Borland C++, or Digital Mars C/C++ do not provide this
> functionality? (I tend to prefer to provide such information as a
> command line parameter instead of manipulating a bjam file).

This works only for toolsets with autodetection. That would be gcc and msvc.
I think that all other toolsets have to be configured in user-config.jam or
site-config.jam.

Then specifing "toolset=whateveryounameit" should work.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

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