Boost logo

Boost-Build :

Subject: Re: [Boost-build] vacpp does not accept compiler options ?
From: Christopher Cambly (ccambly_at_[hidden])
Date: 2010-04-20 11:36:50


> I am trying to compile on a 64 bit AIX environment but
> want to compile in 32 bit mode. From what I gather this
> requires compiling/linking with -q32 compile/link option.
>
> I cant seem to get bjam to do this: I tried the following in
site-config.jam
>
> using vacpp : : -q32 ;
>
> This compiles but does not produce the intended effect.
>

Unless you built the libraries with address-model=64, the boost build
should default to a 32bit build. You can the flip between 32bit and 64bit
builds with bjam address-model=32 or bjam address-model=64 without
modifying the site-config.jam file.

I'm not sure one can specify compile options in that manner you have listed
above.

Chris Cambly
XL C++ Compiler Development



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