|
Boost-Build : |
Subject: Re: [Boost-build] toolset requirement
From: Deane Yang (deane_at_[hidden])
Date: 2008-12-06 14:58:09
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"
c:/home/deane/git/software/boost/tools/build/v2/build\property.jam:276:
in validate1 from module property
c:/home/deane/git/software/boost/tools/build/v2/build\property.jam:301:
in property.validate from module property
c:/home/deane/git/software/boost/tools/build/v2/tools\builtin.jam:354:
in variant from module builtin
..\..\..\Jamroot:63: in modules.load from module
Jamfile</c:/home/deane/git/software>
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:307:
in load-jamfile from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:62: in
load from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:115:
in load-parent from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:442:
in initialize from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:297:
in load-jamfile from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:62: in
load from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:115:
in load-parent from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:442:
in initialize from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:297:
in load-jamfile from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:62: in
load from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:115:
in load-parent from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:442:
in initialize from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:297:
in load-jamfile from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:62: in
load from module project
c:/home/deane/git/software/boost/tools/build/v2/build\project.jam:168:
in project.find from module project
c:/home/deane/git/software/boost/tools/build/v2\build-system.jam:535: in
load from module build-system
c:\home\deane\git\software\boost\tools\build\v2/kernel\modules.jam:283:
in import from module modules
c:\home\deane\git\software\boost\tools\build\v2\kernel\bootstrap.jam:128:
in boost-build from module
c:\home\deane\git\software\boost-build.jam:1: in module scope from module
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