OLD | NEW |
1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
2 | 2 |
3 <section id="building"> | 3 <section id="building"> |
4 <span id="devcycle-building"></span><h1 id="building"><span id="devcycle-buildin
g"></span>Building</h1> | 4 <span id="devcycle-building"></span><h1 id="building"><span id="devcycle-buildin
g"></span>Building</h1> |
5 <div class="contents local topic" id="table-of-contents"> | 5 <div class="contents local" id="table-of-contents" style="display: none"> |
6 <p class="topic-title first">Table Of Contents</p> | 6 <p class="topic-title first">Table Of Contents</p> |
7 <ul class="small-gap"> | 7 <ul class="small-gap"> |
8 <li><p class="first"><a class="reference internal" href="#introduction" id="id4"
>Introduction</a></p> | 8 <li><p class="first"><a class="reference internal" href="#introduction" id="id4"
>Introduction</a></p> |
9 <ul class="small-gap"> | 9 <ul class="small-gap"> |
10 <li><a class="reference internal" href="#target-architectures" id="id5">Target a
rchitectures</a></li> | 10 <li><a class="reference internal" href="#target-architectures" id="id5">Target a
rchitectures</a></li> |
11 <li><a class="reference internal" href="#c-libraries" id="id6">C libraries</a></
li> | 11 <li><a class="reference internal" href="#c-libraries" id="id6">C libraries</a></
li> |
12 <li><a class="reference internal" href="#c-standard-libraries" id="id7">C++ stan
dard libraries</a></li> | 12 <li><a class="reference internal" href="#c-standard-libraries" id="id7">C++ stan
dard libraries</a></li> |
13 <li><a class="reference internal" href="#sdk-toolchains" id="id8">SDK toolchains
</a></li> | 13 <li><a class="reference internal" href="#sdk-toolchains" id="id8">SDK toolchains
</a></li> |
14 <li><a class="reference internal" href="#sdk-toolchains-versus-your-hosted-toolc
hain" id="id9">SDK toolchains versus your hosted toolchain</a></li> | 14 <li><a class="reference internal" href="#sdk-toolchains-versus-your-hosted-toolc
hain" id="id9">SDK toolchains versus your hosted toolchain</a></li> |
15 </ul> | 15 </ul> |
(...skipping 17 matching lines...) Expand all Loading... |
33 <li><a class="reference internal" href="#using-make" id="id20">Using make</a></l
i> | 33 <li><a class="reference internal" href="#using-make" id="id20">Using make</a></l
i> |
34 <li><a class="reference internal" href="#libraries-and-header-files-provided-wit
h-the-sdk" id="id21">Libraries and header files provided with the SDK</a></li> | 34 <li><a class="reference internal" href="#libraries-and-header-files-provided-wit
h-the-sdk" id="id21">Libraries and header files provided with the SDK</a></li> |
35 <li><p class="first"><a class="reference internal" href="#troubleshooting" id="i
d22">Troubleshooting</a></p> | 35 <li><p class="first"><a class="reference internal" href="#troubleshooting" id="i
d22">Troubleshooting</a></p> |
36 <ul class="small-gap"> | 36 <ul class="small-gap"> |
37 <li><a class="reference internal" href="#undefined-reference-error" id="id23">&#
8220;Undefined reference” error</a></li> | 37 <li><a class="reference internal" href="#undefined-reference-error" id="id23">&#
8220;Undefined reference” error</a></li> |
38 <li><a class="reference internal" href="#can-t-find-libraries-containing-necessa
ry-symbols" id="id24">Can’t find libraries containing necessary symbols</a
></li> | 38 <li><a class="reference internal" href="#can-t-find-libraries-containing-necessa
ry-symbols" id="id24">Can’t find libraries containing necessary symbols</a
></li> |
39 <li><a class="reference internal" href="#pnacl-abi-verification-errors" id="id25
">PNaCl ABI Verification errors</a></li> | 39 <li><a class="reference internal" href="#pnacl-abi-verification-errors" id="id25
">PNaCl ABI Verification errors</a></li> |
40 </ul> | 40 </ul> |
41 </li> | 41 </li> |
42 </ul> | 42 </ul> |
43 </div> | 43 |
44 <section id="introduction"> | 44 </div><section id="introduction"> |
45 <h2 id="introduction">Introduction</h2> | 45 <h2 id="introduction">Introduction</h2> |
46 <p>This document describes how to build Native Client modules. It is intended fo
r | 46 <p>This document describes how to build Native Client modules. It is intended fo
r |
47 developers who have experience writing, compiling, and linking C and C++ code. | 47 developers who have experience writing, compiling, and linking C and C++ code. |
48 If you haven’t read the Native Client <a class="reference internal" href="
/native-client/overview.html"><em>Technical Overview</em></a> and <a class="refe
rence internal" href="/native-client/devguide/tutorial/index.html"><em>Tutorial<
/em></a>, we recommend starting | 48 If you haven’t read the Native Client <a class="reference internal" href="
/native-client/overview.html"><em>Technical Overview</em></a> and <a class="refe
rence internal" href="/native-client/devguide/tutorial/index.html"><em>Tutorial<
/em></a>, we recommend starting |
49 with those.</p> | 49 with those.</p> |
50 <section id="target-architectures"> | 50 <section id="target-architectures"> |
51 <span id="id1"></span><h3 id="target-architectures"><span id="id1"></span>Target
architectures</h3> | 51 <span id="id1"></span><h3 id="target-architectures"><span id="id1"></span>Target
architectures</h3> |
52 <p>Portable Native Client (PNaCl) modules are written in C or C++ and compiled | 52 <p>Portable Native Client (PNaCl) modules are written in C or C++ and compiled |
53 into an executable file ending in a <strong>.pexe</strong> extension using the P
NaCl | 53 into an executable file ending in a <strong>.pexe</strong> extension using the P
NaCl |
54 toolchain in the Native Client SDK. Chrome can load <strong>pexe</strong> files | 54 toolchain in the Native Client SDK. Chrome can load <strong>pexe</strong> files |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 Function foo has disallowed type: i128 (i128) | 561 Function foo has disallowed type: i128 (i128) |
562 LLVM ERROR: PNaCl ABI verification failed | 562 LLVM ERROR: PNaCl ABI verification failed |
563 </pre> | 563 </pre> |
564 <p>When faced with a PNaCl ABI verification error, check the list of features | 564 <p>When faced with a PNaCl ABI verification error, check the list of features |
565 that are <a class="reference internal" href="/native-client/nacl-and-pnacl.html#
when-to-use-nacl"><em>not supported by PNaCl</em></a>. | 565 that are <a class="reference internal" href="/native-client/nacl-and-pnacl.html#
when-to-use-nacl"><em>not supported by PNaCl</em></a>. |
566 If the problem you face is not listed as restricted, | 566 If the problem you face is not listed as restricted, |
567 <a class="reference internal" href="/native-client/help.html#help"><em>let us kn
ow</em></a>!</p> | 567 <a class="reference internal" href="/native-client/help.html#help"><em>let us kn
ow</em></a>!</p> |
568 </section></section></section> | 568 </section></section></section> |
569 | 569 |
570 {{/partials.standard_nacl_article}} | 570 {{/partials.standard_nacl_article}} |
OLD | NEW |