Opened 9 years ago

Closed 4 years ago

#8638 closed Patches (obsolete)

Support of 64-bit address model in boost libraries names

Reported by: Valentin Shtronda <valiko.ua@…> Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Attached patch modifies "boostcpp.jam" and "boost\config\auto_link.hpp" to add new suffix ("-32" or "-64") designating address model selected. If address model is not specified in command line to b2, address model suffix is not appended.

Allows to place built boost libraries in the same directory, which in turn simplifies user projects configuration (no need to specify two directories to the linker).

Attachments (2)

boost_trunk_address_model.patch (4.8 KB ) - added by Valentin Shtronda <valiko.ua@…> 9 years ago.
boost_trunk_address_model.2.patch (4.8 KB ) - added by Valentin Shtronda <valiko.ua@…> 9 years ago.
Updated patch to rev.86799.

Download all attachments as: .zip

Change History (5)

by Valentin Shtronda <valiko.ua@…>, 9 years ago

comment:1 by Valentin Shtronda <valiko.ua@…>, 9 years ago

Component: Building Boostconfig
Owner: set to John Maddock

Changed Component from "Building Boost" to "config".

by Valentin Shtronda <valiko.ua@…>, 9 years ago

Updated patch to rev.86799.

comment:2 by John Maddock, 9 years ago

If address model is not specified in command line to b2, address model suffix is not appended.

That makes the patch unusable I'm afraid: as the auto-linking code requires absolute consistency in library naming.

In a more general sense, I'd appreciate it if you'd raise this issue on the boost-developer mailing list. It's not something that either Boost.Build or Boost.Config can fix on their own, and requires more general consensus from the Boost community that this is a good idea.

comment:3 by John Maddock, 4 years ago

Resolution: obsolete
Status: newclosed

This has since been implemented.

Note: See TracTickets for help on using tickets.