Opened 10 years ago
Last modified 10 years ago
#7026 new Patches
bjam: Use 64-bit MSVC tools on Win64, even in a 32-bit shell
| Reported by: | Owned by: | Vladimir Prus | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | build |
| Version: | Boost 1.50.0 | Severity: | Optimization |
| Keywords: | Cc: |
Description
When building with toolset=msvc address-model=64 in a 32-bit shell on Win64, the cross tools (32-bit targeting 64-bit) instead of the native 64-bit tools are used. The reason is the PROCESSOR_ARCHITECTURE env var pretending to be a 32-bit environment. However, on 64-bit Windows, the correct native value can be found in PROCESSOR_ARCHITEW6432.
The attached patch makes the logic to determine the tools to use respect that alternative variable.
Attachments (1)
Change History (2)
by , 10 years ago
| Attachment: | bjam-msvc-w6432.diff added |
|---|
comment:1 by , 10 years ago
| Component: | None → build |
|---|---|
| Owner: | set to |
Note:
See TracTickets
for help on using tickets.

Patch: processor architecture in 32-bit shells under Win64