Boost logo

Boost-Build :

Subject: Re: [Boost-build] toolset requirement
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-12-06 15:52:30


On Saturday 06 December 2008 22:58:09 Deane Yang wrote:
> Steven Watanabe wrote:
> > AMDG
> >
> > Deane Yang wrote:
> >> In my user-config.jam, I have:
> >>
> >> using msvc ;
> >> using gcc ;
> >>
> >> because for all but one of my projects, I use the msvc toolset.
> >>
> >> I have *one* project for which I want to use the gcc toolset. So I
> >> tried to put in the project Jamfile the following:
> >>
> >> project
> >> : requirements
> >> <target-os>windows:<toolset>gcc
> >> ;
> >>
> >> This does not work. What should I do (if anything) instead?
> >
> > It seems to require a version. I'm not quite sure why.
> >
> > using gcc : 3.3.4 ;
> >
> > project : requirements
> > <target-os>windows:<toolset>gcc-3.4.4
> > ;
> >
>
> Thanks for the help. But it does not work for me. I get the same error
> message:
>
> c:/home/deane/git/software/boost/tools/build/v2/build\feature.jam:467:
> in feature.validate-value-string from module feature
> error: "gcc" is not a known value of feature <toolset>
> error: legal values: "msvc"

This still suggests you *don't* have gcc configured. Can you use --debug-configuration
to see which user-config.jam is read, and whether gcc is configured? Please
post the output that option produces.

- Volodya


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