As a short answer:
bjam --toolset=msvc-9.0 address-model=64--build-type=complete
As a longer answer, here are my build notes for having VS .NET 2008 32-bit and 64-bit boost libraries in the same hierarchy (which is I suspect a common use case):
Build the win32 binaries
bjam --toolset=msvc-9.0--build-type=complete stage
Create the directory lib/win32
Move the contents of stage/lib to lib/win32 Remove the directories bin.v2 and stage
Build the x64 binaries
bjam --toolset=msvc-9.0 address-model=64--build-type=complete stage
Create the directory lib/x64
Move the contents of stage/lib to lib/x64 Remove the directories bin.v2 and stage
本文提供了一种在相同目录结构中同时构建32位和64位Boost库的方法。首先使用bjam工具为32位环境构建并转移文件,然后重复此过程以构建64位版本。文中详细介绍了每个步骤所需的命令及文件操作。
196

被折叠的 条评论
为什么被折叠?



