Boost 1.58 address-model has no effect -


this has happened me on multiple platforms far (mac os 10.10, solaris sparc 10, debian 7). when try compile boost using b2, chooses default architecture. if want switch architecture, nothing happens. here commands i've tried. on windows, works fine.

osx:

./b2 architecture=combined address-model=32_64 install --prefix=./osx/clang/universal ./b2 architecture=combined address-model=32_64 ./b2 --architecture=combined --address-model=32_64 install --prefix=./osx/clang/universal 

in case trying build 64 bit.

solaris/linux:

./b2 install --prefix=./<plaform>/<compiler>/<bitness> address-model=64 ./b2 install address-model=64 --prefix=./<plaform>/<compiler>/<bitness> ./b2 address-model=64 install --prefix=./<plaform>/<compiler>/<bitness> ./b2 install --prefix=./<plaform>/<compiler>/<bitness> architecture=x86 address-model=64 

in case building 32 bit.

i did delete , rebuild b2 using bootstrap.sh each compiler , platform tried build boost with.

is there else need change or set? can't find documentation on this.

update: looks architecture=combined osx means both powerpc , x86 chip architectures suppoted. tried without it, still no change. well, tag set combined still claims it's building x86 architectures. found information here under compilers section.

if specify cxxflags=-m32 should work.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -