3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Requirements
</title>
5 <link rel=
"stylesheet" href=
"../../../../../doc/src/boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.75.2">
7 <link rel=
"home" href=
"../index.html" title=
"Chapter 1. Context">
8 <link rel=
"up" href=
"../index.html" title=
"Chapter 1. Context">
9 <link rel=
"prev" href=
"overview.html" title=
"Overview">
10 <link rel=
"next" href=
"ecv2.html" title=
"Class execution_context (version 2)">
12 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF">
13 <table cellpadding=
"2" width=
"100%"><tr>
14 <td valign=
"top"><img alt=
"Boost C++ Libraries" width=
"277" height=
"86" src=
"../../../../../boost.png"></td>
15 <td align=
"center"><a href=
"../../../../../index.html">Home
</a></td>
16 <td align=
"center"><a href=
"../../../../../libs/libraries.htm">Libraries
</a></td>
17 <td align=
"center"><a href=
"http://www.boost.org/users/people.html">People
</a></td>
18 <td align=
"center"><a href=
"http://www.boost.org/users/faq.html">FAQ
</a></td>
19 <td align=
"center"><a href=
"../../../../../more/index.htm">More
</a></td>
22 <div class=
"spirit-nav">
23 <a accesskey=
"p" href=
"overview.html"><img src=
"../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../index.html"><img src=
"../../../../../doc/src/images/up.png" alt=
"Up"></a><a accesskey=
"h" href=
"../index.html"><img src=
"../../../../../doc/src/images/home.png" alt=
"Home"></a><a accesskey=
"n" href=
"ecv2.html"><img src=
"../../../../../doc/src/images/next.png" alt=
"Next"></a>
26 <div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both">
27 <a name=
"context.requirements"></a><a class=
"link" href=
"requirements.html" title=
"Requirements">Requirements
</a>
28 </h2></div></div></div>
30 <span class=
"bold"><strong>Boost.Context
</strong></span> must be built for the particular
31 compiler(s) and CPU architecture(s)s being targeted.
<span class=
"bold"><strong>Boost.Context
</strong></span>
32 includes assembly code and, therefore, requires GNU as and GNU preprocesspr
33 for supported POSIX systems, MASM for Windows/x86 systems and ARMasm for Windows/arm
36 <div class=
"note"><table border=
"0" summary=
"Note">
38 <td rowspan=
"2" align=
"center" valign=
"top" width=
"25"><img alt=
"[Note]" src=
"../../../../../doc/src/images/note.png"></td>
39 <th align=
"left">Note
</th>
41 <tr><td align=
"left" valign=
"top"><p>
42 MASM64 (ml64.exe) is a part of Microsoft's Windows Driver Kit.
45 <div class=
"important"><table border=
"0" summary=
"Important">
47 <td rowspan=
"2" align=
"center" valign=
"top" width=
"25"><img alt=
"[Important]" src=
"../../../../../doc/src/images/important.png"></td>
48 <th align=
"left">Important
</th>
50 <tr><td align=
"left" valign=
"top"><p>
51 Please note that
<code class=
"computeroutput"><span class=
"identifier">address
</span><span class=
"special">-
</span><span class=
"identifier">model
</span><span class=
"special">=
</span><span class=
"number">64</span></code> must be
52 given to bjam command line on
64bit Windows for
64bit build; otherwise
32bit
53 code will be generated.
56 <div class=
"important"><table border=
"0" summary=
"Important">
58 <td rowspan=
"2" align=
"center" valign=
"top" width=
"25"><img alt=
"[Important]" src=
"../../../../../doc/src/images/important.png"></td>
59 <th align=
"left">Important
</th>
61 <tr><td align=
"left" valign=
"top"><p>
62 For cross-compiling the lib you must specify certain additional properties
63 at bjam command line:
<code class=
"computeroutput"><span class=
"identifier">target
</span><span class=
"special">-
</span><span class=
"identifier">os
</span></code>,
<code class=
"computeroutput"><span class=
"identifier">abi
</span></code>,
<code class=
"computeroutput"><span class=
"identifier">binary
</span><span class=
"special">-
</span><span class=
"identifier">format
</span></code>,
64 <code class=
"computeroutput"><span class=
"identifier">architecture
</span></code> and
<code class=
"computeroutput"><span class=
"identifier">address
</span><span class=
"special">-
</span><span class=
"identifier">model
</span></code>.
67 <div class=
"important"><table border=
"0" summary=
"Important">
69 <td rowspan=
"2" align=
"center" valign=
"top" width=
"25"><img alt=
"[Important]" src=
"../../../../../doc/src/images/important.png"></td>
70 <th align=
"left">Important
</th>
72 <tr><td align=
"left" valign=
"top"><p>
73 For safe SEH the property 'asmflags=\safeseh' must be specified at bjam command
78 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
79 <td align=
"left"></td>
80 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2014 Oliver Kowalke
<p>
81 Distributed under the Boost Software License, Version
1.0. (See accompanying
82 file LICENSE_1_0.txt or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt" target=
"_top">http://www.boost.org/LICENSE_1_0.txt
</a>)
87 <div class=
"spirit-nav">
88 <a accesskey=
"p" href=
"overview.html"><img src=
"../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../index.html"><img src=
"../../../../../doc/src/images/up.png" alt=
"Up"></a><a accesskey=
"h" href=
"../index.html"><img src=
"../../../../../doc/src/images/home.png" alt=
"Home"></a><a accesskey=
"n" href=
"ecv2.html"><img src=
"../../../../../doc/src/images/next.png" alt=
"Next"></a>