|
Boost-Build : |
From: Mike Jackson (mike.jackson_at_[hidden])
Date: 2008-07-11 16:25:57
On Jul 11, 2008, at 1:34 PM, Vladimir Prus wrote:
> On Friday 11 July 2008 18:41:16 Mike Jackson wrote:
>> How do I go about setting something either on the command line or in
>> the user-config.jam file in order to set the "USER_OPTIONS" setting?
>>
>> I tried the obvious:
>>
>> USER_OPTIONS = " -headerpad_max_install_names " ;
>>
>> and then in darwin.jam I have the following:
>>
>> ECHO USER_OPTIONS are $(USER_OPTIONS) ;
>>
>> but I get an empty string.
>>
>> Thanks for any help on this.
>
> First, note that this option is passed by SVN HEAD version of
> Boost.Build already.
> Second, USER_OPTIONS is a variable internal to darwin.jam and/or
> gcc.jam, if you
> try to poke at it, nothing good will happen.
> Finally, you can use the following:
>
> project user-config : requirements <linkerflags>"-
> headerpad_max_install_names" ;
>
> in user-config.jam
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/
> listinfo.cgi/boost-build
>
I tried adding that to the user-config.jam file and I get the
following error:
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
feature.jam:286: in validate-feature from module feature
error: unknown feature "<linkerflags>"
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
feature.jam:319: in expand-subfeatures-aux from module feature
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
feature.jam:383: in expand-subfeatures from module feature
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
feature.jam:797: in feature.expand from module feature
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
targets.jam:908: in evaluate-requirements from module targets
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
targets.jam:1003: in common-properties2 from module targets
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
targets.jam:876: in targets.common-properties from module targets
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
targets.jam:1159: in object(alias-target-class)@71.generate from
module object(alias-target-class)@71
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
targets.jam:742: in generate-really from module object(main-target)@198
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
targets.jam:715: in object(main-target)@198.generate from module
object(main-target)@198
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build/
targets.jam:254: in object(project-target)@48.generate from module
object(project-target)@48
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/build-system.jam:
658: in load from module build-system
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/kernel/
modules.jam:267: in import from module modules
/Users/Shared/OpenSource/boost_1_35_0/tools/build/v2/kernel/
bootstrap.jam:132: in boost-build from module
/Users/Shared/OpenSource/boost_1_35_0/boost-build.jam:11: in module
scope from module
Not all Boost libraries built properly.
-- Mike Jackson Senior Research Engineer Innovative Management & Technology Services
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