i trying build boost 1.58.0 code 32-bit. using below commands
./bootstrap.sh
i have noticed: sets toolset
building boost.build engine toolset gcc... tools/build/src/engine/bin.linuxx86_64/b2
after ran,
./bjam install --toolset=gcc address-model=32 variant=release,debug link=static,shared -d2 -q -j4 --layout=versioned --prefix=$output_path_build --without-python --without-mpi --without-wave --without-graph --without-math --without-test define=boost_log_use_char >> $log_file
above command builds code 64-bit, expecting 32-bit. here out put in log_file
[----------- start building boost thu jan 28 23:17:06 pst 2016 performing configuration checks - 32-bit : no (cached) - 64-bit : yes (cached) - arm : no (cached) - mips1 : no (cached) - power : no (cached) - sparc : no (cached) - x86 : yes (cached) - lockfree boost::atomic_flag : yes (cached)
how build code 32 bit? using ubuntu 14.04 , gcc 4.8.
thanks.
Comments
Post a Comment