Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: native_client_sdk/doc_generated/devguide/devcycle/dynamic-loading.html

Issue 912633002: NaCl docs: clarify Chrome apps instead of packaged apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 {{+bindTo:partials.standard_nacl_article}} 1 {{+bindTo:partials.standard_nacl_article}}
2 2
3 <section id="dynamic-linking-and-loading-with-glibc"> 3 <section id="dynamic-linking-and-loading-with-glibc">
4 <h1 id="dynamic-linking-and-loading-with-glibc">Dynamic Linking and Loading with glibc</h1> 4 <h1 id="dynamic-linking-and-loading-with-glibc">Dynamic Linking and Loading with glibc</h1>
5 <div class="contents local" id="contents" style="display: none"> 5 <div class="contents local" id="contents" style="display: none">
6 <ul class="small-gap"> 6 <ul class="small-gap">
7 <li><a class="reference internal" href="#c-standard-libraries-glibc-and-newlib" id="id1">C standard libraries: glibc and newlib</a></li> 7 <li><a class="reference internal" href="#c-standard-libraries-glibc-and-newlib" id="id1">C standard libraries: glibc and newlib</a></li>
8 <li><a class="reference internal" href="#sdk-toolchains" id="id2">SDK toolchains </a></li> 8 <li><a class="reference internal" href="#sdk-toolchains" id="id2">SDK toolchains </a></li>
9 <li><p class="first"><a class="reference internal" href="#specifying-and-deliver ing-shared-libraries" id="id3">Specifying and delivering shared libraries</a></p > 9 <li><p class="first"><a class="reference internal" href="#specifying-and-deliver ing-shared-libraries" id="id3">Specifying and delivering shared libraries</a></p >
10 <ul class="small-gap"> 10 <ul class="small-gap">
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 the list of shared library dependencies using tools such as <code>objdump_</code >.</p> 313 the list of shared library dependencies using tools such as <code>objdump_</code >.</p>
314 <h3 id="deploying-a-dynamically-linked-application">Deploying a dynamically link ed application</h3> 314 <h3 id="deploying-a-dynamically-linked-application">Deploying a dynamically link ed application</h3>
315 <p>As described above, an application&#8217;s manifest file must explicitly list all the 315 <p>As described above, an application&#8217;s manifest file must explicitly list all the
316 executable code modules that the application directly depends on, including 316 executable code modules that the application directly depends on, including
317 modules from the application itself (.nexe and .so files), modules from the 317 modules from the application itself (.nexe and .so files), modules from the
318 Native Client SDK (e.g., libppapi_cpp.so), and perhaps also modules from 318 Native Client SDK (e.g., libppapi_cpp.so), and perhaps also modules from
319 <a class="reference external" href="http://code.google.com/p/naclports/">naclpor ts</a> or from 319 <a class="reference external" href="http://code.google.com/p/naclports/">naclpor ts</a> or from
320 <a class="reference external" href="../../community/middleware">middleware syste ms</a> that 320 <a class="reference external" href="../../community/middleware">middleware syste ms</a> that
321 the application uses. You must provide all of those modules as part of the 321 the application uses. You must provide all of those modules as part of the
322 application deployment process.</p> 322 application deployment process.</p>
323 <p>As explained in <a class="reference internal" href="/native-client/devguide/d istributing.html"><em>Distributing Your Application</em></a>, there are two basi c ways to deploy an application:</p> 323 <p>As explained in <a class="reference internal" href="/native-client/devguide/d istributing.html"><em>Distributing Your Application</em></a>, there
324 are two basic ways to deploy a <a class="reference external" href="/apps">Chrome app</a>:</p>
324 <ul class="small-gap"> 325 <ul class="small-gap">
325 <li><strong>hosted application:</strong> all modules are hosted together on a we b server of 326 <li><strong>hosted application:</strong> all modules are hosted together on a we b server of
326 your choice</li> 327 your choice</li>
327 <li><strong>packaged application:</strong> all modules are packaged into one fil e, hosted in 328 <li><strong>packaged application:</strong> all modules are packaged into one fil e, hosted in
328 the Chrome Web Store, and downloaded to the user&#8217;s machine</li> 329 the Chrome Web Store, and downloaded to the user&#8217;s machine</li>
329 </ul> 330 </ul>
330 <p>You must deploy all the modules listed in your application&#8217;s manifest f ile for 331 <p>You must deploy all the modules listed in your application&#8217;s manifest f ile for
331 either the hosted application or the packaged application case. For hosted 332 either the hosted application or the packaged application case. For hosted
332 applications, you must upload the modules to your web server. For packaged 333 applications, you must upload the modules to your web server. For packaged
333 applications, you must include the modules in the application&#8217;s Chrome Web 334 applications, you must include the modules in the application&#8217;s Chrome Web
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 in the .nmf file &#8211; either the files are the wrong type or kind, or an 412 in the .nmf file &#8211; either the files are the wrong type or kind, or an
412 expected library is missing.</dd> 413 expected library is missing.</dd>
413 <dt><strong>undefined reference to &#8216;dlopen&#8217; collect2: ld returned 1 exit status</strong></dt> 414 <dt><strong>undefined reference to &#8216;dlopen&#8217; collect2: ld returned 1 exit status</strong></dt>
414 <dd>This is a linker ordering problem that usually results from improper orderin g 415 <dd>This is a linker ordering problem that usually results from improper orderin g
415 of command line flags when linking. Reconfigure your command line string to 416 of command line flags when linking. Reconfigure your command line string to
416 list libraries after the -o flag.</dd> 417 list libraries after the -o flag.</dd>
417 </dl> 418 </dl>
418 </section> 419 </section>
419 420
420 {{/partials.standard_nacl_article}} 421 {{/partials.standard_nacl_article}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698