Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 .. _tutorial: | 1 .. _tutorial: |
| 2 | 2 |
| 3 ###################################### | 3 ###################################### |
| 4 C++ Tutorial: Getting Started (Part 1) | 4 C++ Tutorial: Getting Started (Part 1) |
| 5 ###################################### | 5 ###################################### |
| 6 | 6 |
| 7 .. contents:: | 7 .. contents:: |
| 8 :local: | 8 :local: |
| 9 :backlinks: none | 9 :backlinks: none |
| 10 :depth: 2 | 10 :depth: 2 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 | 68 |
| 69 $ cd pepper_$(VERSION)/getting_started | 69 $ cd pepper_$(VERSION)/getting_started |
| 70 $ make serve | 70 $ make serve |
| 71 | 71 |
| 72 .. Note:: | 72 .. Note:: |
| 73 :class: note | 73 :class: note |
| 74 | 74 |
| 75 The SDK may consist of several "bundles", one per Chrome/Pepper version (see | 75 The SDK may consist of several "bundles", one per Chrome/Pepper version (see |
| 76 :doc:`versioning information </version>`). In the sample invocation above | 76 :doc:`versioning information </version>`). In the sample invocation above |
| 77 ``pepper_$(VERSION)`` refers to the specific version you want to use. For | 77 ``pepper_$(VERSION)`` refers to the specific version you want to use. For |
| 78 example, ``pepper_31``. If you don't know which version you need, use the | 78 example, ``pepper_37``. If you don't know which version you need, use the |
| 79 one labeled ``(stable)`` by the ``naclsdk list`` command. See | 79 one labeled ``(stable)`` by the ``naclsdk list`` command. See |
| 80 :doc:`Download the Native Client SDK </sdk/download>` for more details. | 80 :doc:`Download the Native Client SDK </sdk/download>` for more details. |
| 81 | 81 |
| 82 If no port number is specified, the server defaults to port 5103, and can be | 82 If no port number is specified, the server defaults to port 5103, and can be |
| 83 accessed at ``http://localhost:5103``. | 83 accessed at ``http://localhost:5103``. |
| 84 | 84 |
| 85 Any server can be used for the purpose of development. The one provided with the | 85 Any server can be used for the purpose of development. The one provided with the |
| 86 SDK is just a convenience, not a requirement. | 86 SDK is just a convenience, not a requirement. |
| 87 | 87 |
| 88 .. _tutorial_step_3: | 88 .. _tutorial_step_3: |
| 89 | 89 |
| 90 Step 3: Set up the Chrome browser | 90 Step 3: Set up the Chrome browser |
| 91 ================================= | 91 ================================= |
| 92 | 92 |
| 93 PNaCl is enabled by default in Chrome version 31 and later. Please make sure | 93 PNaCl is enabled by default in Chrome. We recommend that you use a version of |
| 94 that you have a suitable version to work through this tutorial. It's also | 94 Chrome that's the same or newer than the SDK bundle used to build Native Client |
| 95 important to use a Chrome version that's the same or newer than the SDK bundle | 95 modules. Older PNaCl modules will always work with newer versions of Chrome, but |
| 96 used to build the Native Client modules. | 96 the converse is not. |
|
JF
2014/11/05 14:41:22
"the converse is not true"?
| |
| 97 | 97 |
| 98 .. Note:: | 98 .. Note:: |
| 99 :class: note | 99 :class: note |
| 100 | 100 |
| 101 To find out the version of Chrome, type ``about:chrome`` in the address bar. | 101 To find out the version of Chrome, type ``about:chrome`` in the address bar. |
| 102 | 102 |
| 103 For a better development experience, it's also recommended to disable the | 103 For a better development experience, it's also recommended to disable the |
| 104 Chrome cache. Chrome caches resources aggressively; disabling the cache helps | 104 Chrome cache. Chrome caches resources aggressively; disabling the cache helps |
| 105 make sure that the latest version of the Native Client module is loaded during | 105 make sure that the latest version of the Native Client module is loaded during |
| 106 development. | 106 development. |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 290 applications and using the Pepper APIs. | 290 applications and using the Pepper APIs. |
| 291 * See the :doc:`Building </devguide/devcycle/building>`, :doc:`Running | 291 * See the :doc:`Building </devguide/devcycle/building>`, :doc:`Running |
| 292 </devguide/devcycle/running>`, and :doc:`Debugging pages | 292 </devguide/devcycle/running>`, and :doc:`Debugging pages |
| 293 </devguide/devcycle/debugging>` for information about how to build, run, and | 293 </devguide/devcycle/debugging>` for information about how to build, run, and |
| 294 debug Native Client applications. | 294 debug Native Client applications. |
| 295 * Check the `naclports <http://code.google.com/p/naclports/>`_ project to see | 295 * Check the `naclports <http://code.google.com/p/naclports/>`_ project to see |
| 296 what libraries have been ported for use with Native Client. If you port an | 296 what libraries have been ported for use with Native Client. If you port an |
| 297 open-source library for your own use, we recommend adding it to naclports | 297 open-source library for your own use, we recommend adding it to naclports |
| 298 (see `How to check code into naclports | 298 (see `How to check code into naclports |
| 299 <http://code.google.com/p/naclports/wiki/HowTo_Checkin>`_). | 299 <http://code.google.com/p/naclports/wiki/HowTo_Checkin>`_). |
| OLD | NEW |