Boost logo

Boost-Build :

Subject: Re: [Boost-build] Include / library configuration in site-config.jam
From: Thomas Suckow (tsuckow_at_[hidden])
Date: 2010-01-06 10:18:37


# Initializes the gcc toolset for the given version. If necessary, command may
# be used to specify where the compiler is located. The parameter 'options' is a
# space-delimited list of options, each one specified as
# <option-name>option-value. Valid option names are: cxxflags, linkflags and
# linker-type. Accepted linker-type values are aix, darwin, gnu, hpux, osf or
# sun and the default value will be selected based on the current OS.
# Example:
# using gcc : 3.4 : : <cxxflags>foo <linkflags>bar <linker-type>sun ;
#
rule init ( version ? : command * : options * )

I tried this once with <target-os> and it ignored it, is <architecture> special?

Thomas Suckow

On Wed, Jan 6, 2010 at 7:16 AM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> Christian Auby wrote:
>>
>> Can I have both:
>>
>> using gcc;
>> using gcc : : arm-none-linux-gnueabi-g++ : <architecture>arm ;
>>
>> I thought the last "argument" was a definition, not a requirement.
>
> IIRC, yes you can. But you might have to also do:
>
> using gcc : : : <architecture>x86 ;
> using gcc : : arm-none-linux-gnueabi-g++ : <architecture>arm ;
>
> They are all arguments defining the toolset :-) But in the case of that last
> one it's a set of requirements for using the toolset.
>
>
> --
> -- Grafik - Don't Assume Anything
> -- Redshift Software, Inc. - http://redshift-software.com
> -- rrivera/acm.org (msn) - grafik/redshift-software.com
> -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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