Opened 9 years ago
Last modified 9 years ago
#9686 new Feature Requests
Provide cmd file for building both 32-bit and 64-bit libraries on Windows with Microsoft Visual C++
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.54.0 | Severity: | Optimization |
Keywords: | build, Windows, Microsoft Visual C++ | Cc: |
Description
It would make sense to provide a cmd file to automate bootstrapping and building both 32-bit and 64-bit libraries (in the Debug and Release configurations) on Windows (placing them under stage32 and stage64, respectively). Running bootstrap and b2 with no command-line arguments as recommended in the Getting Started guide will build only 32-bit libraries. In order to build 64-bit libraries, one has to consult bjam docs to figure out which parameters/options to use. Since targeting both 32-bit, and 64-bit architectures is quite common for developers working under Windows, having a batch file to automate Boost library builds for both architectures in one go will save them some time and effort.
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Oh yeah, it would be nice if the b2 reported it was building in 64-bit mode.
Agreed! I've been trying to build 1_55 in 64-bit mode and no matter what combination of address-model=64 or arichetecture=x86 I can't get it to work.
This build command doesn't seem to work: