|
Boost Users : |
From: Bijan (bijan.nazem_at_[hidden])
Date: 2008-08-14 16:27:24
cowwoc <cowwoc <at> bbs.darktech.org> writes:
>
>
> Hi,
>
> I just ran across an excellent blog post showing how to build Boost for
> Windows 64-bit:
> http://einaros.blogspot.com/2007/06/compiling-boost-for-x64.html
>
> I had two questions:
>
> 1) Can the Boost team please add this to the official documentation?
> 2) Will the next public release include 64-bit binaries?
>
> Thank you,
> Gili
I use this procedure to build x84 & x64:
1)Open up Visual Studio 2008 x64 cross tools command prompt (%
comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 9.0
\VC\vcvarsall.bat"" x86_amd64)
2)cd boost_1_36_0 \tools\jam\src
3)build.bat
4)cd boost_1_36_0
del c:\boost_1_36_0\bin.v2 /s /q
5)tools\jam\src\bin.ntx86_64\bjam.exe toolset=msvc-9.0 define=_SECURE_SCL=0
define=arch:SSE2 link=shared debug address-model=32 threading=multi --
prefix=c:/boost32 --without-python --without-mpi install
>c:\boost_build_result_debug_32.txt
del c:\boost_1_36_0\bin.v2 /s /q
6)tools\jam\src\bin.ntx86_64\bjam.exe toolset=msvc-9.0 define=_SECURE_SCL=0
define=arch:SSE2 link=shared debug address-model=64 threading=multi --
prefix=c:/boost64 --without-python --without-mpi install
>c:\boost_build_result_debug_64.txt
del c:\boost_1_36_0\bin.v2 /s /q
7)tools\jam\src\bin.ntx86_64\bjam.exe toolset=msvc-9.0 define=_SECURE_SCL=0
define=GL define=arch:SSE2 link=shared release address-model=32
threading=multi --prefix=c:/boost32 --without-python --without-mpi install
>c:\boost_build_result_release_32.txt
del c:\boost_1_36_0\bin.v2 /s /q
8)tools\jam\src\bin.ntx86_64\bjam.exe toolset=msvc-9.0 define=_SECURE_SCL=0
define=GL define=arch:SSE2 link=shared release address-model=64
threading=multi --prefix=c:/boost64 --without-python --without-mpi install
>c:\boost_build_result_release_64.txt
del c:\boost_1_36_0\bin.v2 /s /q
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net