Opened 14 years ago

Closed 13 years ago

#2203 closed Feature Requests (fixed)

Document building Boost for Windows 64-bit

Reported by: anonymous Owned by:
Milestone: Boost 1.36.0 Component: Building Boost
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

http://www.boost.org/doc/tools/build/doc/html/bbv2/reference/tools.html#id2566888 documents the various Boost build switches but does not include specific command-line examples.

It isn't immediately clear how to build Boost for debug, release, 32-bit, 64-bit modes.

Change History (5)

comment:1 by cowwoc@…, 14 years ago

Sorry, I was the author. I forgot to log in.

comment:2 by anonymous, 14 years ago

Component: NoneBuilding Boost

comment:3 by Vladimir Prus, 13 years ago

To use 64-bit compilation you should:
Configure you compiler as usual. If you provide a path to the compiler explicitly, provide the path to the 32-bit compiler. If you try to specify the path to any of 64-bit compilers, configuration will not work.
When compiling, use address-model=64, to generate AMD64 code.
To generate IA64 code, use architecture=ia64

Can you clarify what is lacking in the above description. As for debug and release mode, I think that: http://www.boost.org/boost-build2/doc/html/bbv2/advanced/invocation.html

Is clear on that.

comment:4 by anonymous, 13 years ago

I think you should provide a sample command-line for each section. The documentation talks about different command-line options in a piece-meal fashion but it's not clear what the end result should look like.

comment:5 by Vladimir Prus, 13 years ago

Resolution: fixed
Status: newclosed

I have now added a mention of address-model to http://www.boost.org/boost-build2/doc/html/bbv2/advanced/invocation.html. I am not sure what "sample command-line for each section" might be there -- given that some examples are given and address-model is just one of many other features, and it does not make sense to give an example for every feature. I think this is now as close to good as we can get.

Note: See TracTickets for help on using tickets.