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

Side by Side Diff: native_client_sdk/src/doc/devguide/devcycle/dynamic-loading.rst

Issue 1531683006: [NaCl SDK] Remove references to naclports bundle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 ###################################### 1 ######################################
2 Dynamic Linking and Loading with glibc 2 Dynamic Linking and Loading with glibc
3 ###################################### 3 ######################################
4 4
5 .. contents:: 5 .. contents::
6 :local: 6 :local:
7 :backlinks: none 7 :backlinks: none
8 :depth: 2 8 :depth: 2
9 9
10 .. Note:: 10 .. Note::
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 As an alternative to using ``create_nmf``, it is possible to manually calculate 303 As an alternative to using ``create_nmf``, it is possible to manually calculate
304 the list of shared library dependencies using tools such as ``objdump_``. 304 the list of shared library dependencies using tools such as ``objdump_``.
305 305
306 Deploying a dynamically linked application 306 Deploying a dynamically linked application
307 ========================================== 307 ==========================================
308 308
309 As described above, an application's manifest file must explicitly list all the 309 As described above, an application's manifest file must explicitly list all the
310 executable code modules that the application directly depends on, including 310 executable code modules that the application directly depends on, including
311 modules from the application itself (``.nexe`` and ``.so`` files), modules from 311 modules from the application itself (``.nexe`` and ``.so`` files), modules from
312 the Native Client SDK (e.g., ``libppapi_cpp.so``), and perhaps also modules from 312 the Native Client SDK (e.g., ``libppapi_cpp.so``), and perhaps also modules from
313 `naclports <http://code.google.com/p/naclports/>`_ or from `middleware systems 313 `webports <https://chromium.googlesource.com/webports>`_ or from `middleware
314 <../../community/middleware>`_ that the application uses. You must provide all 314 systems <../../community/middleware>`_ that the application uses. You must
315 of those modules as part of the application deployment process. 315 provide all of those modules as part of the application deployment process.
316 316
317 As explained in :doc:`Distributing Your Application <../distributing>`, there 317 As explained in :doc:`Distributing Your Application <../distributing>`, there
318 are two basic ways to deploy a `Chrome app </apps>`_: 318 are two basic ways to deploy a `Chrome app </apps>`_:
319 319
320 * **hosted application:** all modules are hosted together on a web server of 320 * **hosted application:** all modules are hosted together on a web server of
321 your choice 321 your choice
322 322
323 * **packaged application:** all modules are packaged into one file, hosted in 323 * **packaged application:** all modules are packaged into one file, hosted in
324 the Chrome Web Store, and downloaded to the user's machine 324 the Chrome Web Store, and downloaded to the user's machine
325 325
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 **undefined reference to 'dlopen' collect2: ld returned 1 exit status** 429 **undefined reference to 'dlopen' collect2: ld returned 1 exit status**
430 This is a linker ordering problem that usually results from improper ordering 430 This is a linker ordering problem that usually results from improper ordering
431 of command line flags when linking. Reconfigure your command line string to 431 of command line flags when linking. Reconfigure your command line string to
432 list libraries after the -o flag. 432 list libraries after the -o flag.
433 433
434 .. |menu-icon| image:: /images/menu-icon.png 434 .. |menu-icon| image:: /images/menu-icon.png
435 .. _objdump: http://en.wikipedia.org/wiki/Objdump 435 .. _objdump: http://en.wikipedia.org/wiki/Objdump
436 .. _GLIBC: http://www.gnu.org/software/libc/index.html 436 .. _GLIBC: http://www.gnu.org/software/libc/index.html
437 .. _POSIX: http://en.wikipedia.org/wiki/POSIX 437 .. _POSIX: http://en.wikipedia.org/wiki/POSIX
438 .. _newlib: http://sourceware.org/newlib/ 438 .. _newlib: http://sourceware.org/newlib/
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698