boost 컴파일

C++ 2016. 1. 22. 14:41
boost compile 64bit + debug/release + MT 빌드할때마다 폴더 지우고 다시 푼다음에 했음요.
* linux
sudo apt-get install -y build-essential libzip-dev libicu-dev libbz2-dev gcc-multilib g++-multilib libcr-dev
./bootstrap.sh --prefix="/home/crossfire/boost"
./b2 install variant=debug address-model=64 threading=multi link=static --without-mpi --without-python > out.log
./b2 install variant=release address-model=64 threading=multi link=static --without-mpi --without-python > out.log
* windows (C:\Boost에 설치됨)
bootstrap.bat

b2 install -j 4 --toolset=msvc-14.0 variant=debug,release address-model=32 threading=multi runtime-link=static --without-mpi --without-python > out.log
b2 install -j 4 --toolset=msvc-14.0 variant=debug,release address-model=64 threading=multi runtime-link=static --without-mpi --without-python > out.log