|
Boost-Build : |
Subject: Re: [Boost-build] variant for 64-bit builds?
From: Ian Emmons (iemmons_at_[hidden])
Date: 2010-07-23 10:19:25
Here's an example from my site-config.jam:
import os ;
path-constant BoostDir : [ os.environ BOOST_ROOT ] ;
constant COMPILER : gcc44 ;
searched-lib BoostDateTime
: # no sources
: <runtime-link>shared,<variant>debug:<name>boost_date_time-$(COMPILER)-mt-d
<runtime-link>shared,<variant>release:<name>boost_date_time-$(COMPILER)-mt
<runtime-link>static,<variant>debug:<name>boost_date_time-$(COMPILER)-mt-sd
<runtime-link>static,<variant>release:<name>boost_date_time-$(COMPILER)-mt-s
<address-model>32:<search>$(BoostDir)/gcc-32/stage/lib
<address-model>64:<search>$(BoostDir)/gcc-64/stage/lib
: # no default build
: <include>$(BoostDir)
;
On Jul 21, 2010, at 3:35 PM, Steve Jaffe wrote:
>
> This seems like it must be a common situation and I'm sure there is a simple
> answer but I haven't been able to find it in the documentation.
>
> I have my Jamfiles set up for 32-bit build (linux). In particular, the
> <include> files and library <search> paths are for the 32-bit libraries. Now
> I want to build on 64-bit architecture.
>
> How can I specify different <include> and <search> paths for 64-bit build?
>
>
> --
> View this message in context: http://old.nabble.com/variant-for-64-bit-builds--tp29229880p29229880.html
> Sent from the Boost - Build mailing list archive at Nabble.com.
>
> _______________________________________________
> 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