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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 <dt>libnacl_io.a</dt> | 507 <dt>libnacl_io.a</dt> |
508 <dd>Provides a POSIX layer for NaCl. In particular, the library provides a | 508 <dd>Provides a POSIX layer for NaCl. In particular, the library provides a |
509 virtual file system and support for sockets. The virtual file system | 509 virtual file system and support for sockets. The virtual file system |
510 allows a module to “mount” a given directory tree. Once a module has | 510 allows a module to “mount” a given directory tree. Once a module has |
511 mounted a file system, it can use standard C library file operations: | 511 mounted a file system, it can use standard C library file operations: |
512 <code>fopen</code>, <code>fread</code>, <code>fwrite</code>, <code>fseek</code>,
and <code>fclose</code>. | 512 <code>fopen</code>, <code>fread</code>, <code>fwrite</code>, <code>fseek</code>,
and <code>fclose</code>. |
513 For more detail, see the header <code>include/nacl_io/nacl_io.h</code>. | 513 For more detail, see the header <code>include/nacl_io/nacl_io.h</code>. |
514 For an example of how to use nacl_io, see <code>examples/demo/nacl_io_demo</code
>.</dd> | 514 For an example of how to use nacl_io, see <code>examples/demo/nacl_io_demo</code
>.</dd> |
515 <dt>libppapi_simple.a</dt> | 515 <dt>libppapi_simple.a</dt> |
516 <dd>Provides a familiar C programming environment by letting a module have a | 516 <dd>Provides a familiar C programming environment by letting a module have a |
517 simple entry point that is registered by <code>PPAPI_SIMPLE_REGISTER_MAIN</code>
. | 517 simple <code>main()</code> entry point. The entry point is similar to the stand
ard C |
518 The entry point is similar to the standard C <code>main()</code> function, compl
ete | 518 <code>main()</code> function, complete with <code>argc</code> and <code>argv[]</
code> parameters. For |
519 with <code>argc</code> and <code>argv[]</code> parameters. For details see | 519 details see <code>include/ppapi_simple/ps.h</code>. For an example of |
520 <code>include/ppapi_simple/ps.h</code>. For an example of | |
521 how to use ppapi_simple, <code>see examples/tutorial/using_ppapi_simple</code>.<
/dd> | 520 how to use ppapi_simple, <code>see examples/tutorial/using_ppapi_simple</code>.<
/dd> |
522 </dl> | 521 </dl> |
523 <aside class="note"> | 522 <aside class="note"> |
524 <ul class="small-gap"> | 523 <ul class="small-gap"> |
525 <li>Since the Native Client toolchains use their own library and header search | 524 <li>Since the Native Client toolchains use their own library and header search |
526 paths, the tools won’t find third-party libraries you use in your | 525 paths, the tools won’t find third-party libraries you use in your |
527 non-Native-Client development. If you want to use a specific third-party | 526 non-Native-Client development. If you want to use a specific third-party |
528 library for Native Client development, look for it in <a class="reference extern
al" href="http://code.google.com/p/naclports/">naclports</a>, or port the librar
y yourself.</li> | 527 library for Native Client development, look for it in <a class="reference extern
al" href="http://code.google.com/p/naclports/">naclports</a>, or port the librar
y yourself.</li> |
529 <li>The order in which you list libraries in your build commands is important, | 528 <li>The order in which you list libraries in your build commands is important, |
530 since the linker searches and processes libraries in the order in which they | 529 since the linker searches and processes libraries in the order in which they |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 Function foo has disallowed type: i128 (i128) | 585 Function foo has disallowed type: i128 (i128) |
587 LLVM ERROR: PNaCl ABI verification failed | 586 LLVM ERROR: PNaCl ABI verification failed |
588 </pre> | 587 </pre> |
589 <p>When faced with a PNaCl ABI verification error, check the list of features | 588 <p>When faced with a PNaCl ABI verification error, check the list of features |
590 that are <a class="reference internal" href="/native-client/nacl-and-pnacl.html#
when-to-use-nacl"><em>not supported by PNaCl</em></a>. | 589 that are <a class="reference internal" href="/native-client/nacl-and-pnacl.html#
when-to-use-nacl"><em>not supported by PNaCl</em></a>. |
591 If the problem you face is not listed as restricted, | 590 If the problem you face is not listed as restricted, |
592 <a class="reference internal" href="/native-client/help.html#help"><em>let us kn
ow</em></a>!</p> | 591 <a class="reference internal" href="/native-client/help.html#help"><em>let us kn
ow</em></a>!</p> |
593 </section> | 592 </section> |
594 | 593 |
595 {{/partials.standard_nacl_article}} | 594 {{/partials.standard_nacl_article}} |
OLD | NEW |