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" id="table-of-contents" style="display: none"> | 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> |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 format that is subject to change. After finalization, the application | 283 format that is subject to change. After finalization, the application |
284 pexe is <strong>rewritten</strong> into a different binary format that is <stron
g>stable</strong> | 284 pexe is <strong>rewritten</strong> into a different binary format that is <stron
g>stable</strong> |
285 and will be supported by future versions of PNaCl. The finalization step | 285 and will be supported by future versions of PNaCl. The finalization step |
286 also helps minimize the size of your application for distribution by | 286 also helps minimize the size of your application for distribution by |
287 stripping out debug information and other metadata.</p> | 287 stripping out debug information and other metadata.</p> |
288 <p>Once the application is finalized, be sure to adjust the manifest file to | 288 <p>Once the application is finalized, be sure to adjust the manifest file to |
289 refer to the final version of the application before deployment. | 289 refer to the final version of the application before deployment. |
290 The <code>create_nmf.py</code> tool helps generate an <code>.nmf</code> file, bu
t <code>.nmf</code> | 290 The <code>create_nmf.py</code> tool helps generate an <code>.nmf</code> file, bu
t <code>.nmf</code> |
291 files can also be written by hand.</p> | 291 files can also be written by hand.</p> |
292 </section><section id="compressing-the-pexe-for-deployment"> | 292 </section><section id="compressing-the-pexe-for-deployment"> |
293 <h3 id="compressing-the-pexe-for-deployment">Compressing the <strong>pexe</stron
g> for deployment</h3> | 293 <span id="pnacl-compress"></span><h3 id="compressing-the-pexe-for-deployment"><s
pan id="pnacl-compress"></span>Compressing the <strong>pexe</strong> for deploym
ent</h3> |
294 <p>Size compression is an optional step for deployment, and reduces the | 294 <p>Size compression is an optional step for deployment, and reduces the |
295 size of the pexe file that must be transmitted over the wire. The tool | 295 size of the pexe file that must be transmitted over the wire. The tool |
296 <code>pnacl-compress</code> applies compression strategies that are already buil
t | 296 <code>pnacl-compress</code> applies compression strategies that are already buil
t |
297 into the <strong>stable</strong> binary format of a pexe application. As such, | 297 into the <strong>stable</strong> binary format of a pexe application. As such, |
298 compressed pexe files do not need any extra time to be decompressed on | 298 compressed pexe files do not need any extra time to be decompressed on |
299 the client’s side. All costs are upfront when you call <code>pnacl-compres
s</code>.</p> | 299 the client’s side. All costs are upfront when you call <code>pnacl-compres
s</code>.</p> |
300 <p>Currently, this tool will compress pexe files by about 25%. However, | 300 <p>Currently, this tool will compress pexe files by about 25%. However, |
301 it is somewhat slow (can take from seconds to minutes on large | 301 it is somewhat slow (can take from seconds to minutes on large |
302 appications). Hence, this step is optional.</p> | 302 appications). Hence, this step is optional.</p> |
303 <pre> | 303 <pre> |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 Function foo has disallowed type: i128 (i128) | 589 Function foo has disallowed type: i128 (i128) |
590 LLVM ERROR: PNaCl ABI verification failed | 590 LLVM ERROR: PNaCl ABI verification failed |
591 </pre> | 591 </pre> |
592 <p>When faced with a PNaCl ABI verification error, check the list of features | 592 <p>When faced with a PNaCl ABI verification error, check the list of features |
593 that are <a class="reference internal" href="/native-client/nacl-and-pnacl.html#
when-to-use-nacl"><em>not supported by PNaCl</em></a>. | 593 that are <a class="reference internal" href="/native-client/nacl-and-pnacl.html#
when-to-use-nacl"><em>not supported by PNaCl</em></a>. |
594 If the problem you face is not listed as restricted, | 594 If the problem you face is not listed as restricted, |
595 <a class="reference internal" href="/native-client/help.html#help"><em>let us kn
ow</em></a>!</p> | 595 <a class="reference internal" href="/native-client/help.html#help"><em>let us kn
ow</em></a>!</p> |
596 </section></section></section> | 596 </section></section></section> |
597 | 597 |
598 {{/partials.standard_nacl_article}} | 598 {{/partials.standard_nacl_article}} |
OLD | NEW |