| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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/ |
| OLD | NEW |