Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 .. _sdk-index: | 1 .. _sdk-index: |
| 2 | 2 |
| 3 ################# | 3 ################# |
| 4 Native Client SDK | 4 Native Client SDK |
| 5 ################# | 5 ################# |
| 6 | 6 |
| 7 This is the index of the ``sdk`` directory. | 7 To build Native Client modules, you must download and install the Native |
| 8 Client Software Development Kit (SDK). | |
| 8 | 9 |
| 10 The SDK includes the following: | |
| 11 | |
| 12 support for multiple Pepper versions | |
| 13 The SDK contains **bundles** that let you compile Native Client modules | |
| 14 using different versions of the | |
| 15 `Pepper API </overview.html#link_pepper>`_ | |
| 16 (e.g., Pepper 28 or Pepper 29). Review the | |
|
eliben
2013/10/16 22:05:21
maybe bump to pepper_30 and pepper_canary?
The la
jvoung (off chromium)
2013/10/16 23:56:13
Done.
| |
| 17 :doc:`Release Notes <release-notes>` for a description of the new features | |
| 18 included in each Pepper version to help you decide which bundle to | |
| 19 use to develop your application. In general, Native Client modules | |
| 20 compiled using a particular Pepper version will work in | |
| 21 corresponding versions of Chrome and higher. For example, a module | |
| 22 compiled using the Pepper 28 platform will work in Chrome 28 and | |
| 23 higher. | |
| 24 | |
| 25 update utility | |
| 26 The ``naclsdk`` utility (``naclsdk.bat`` on Windows) lets you download new | |
| 27 bundles that are available, as well as new versions of existing bundles. | |
| 28 | |
| 29 toolchains | |
| 30 Each platform includes three toolchains---one for Portable Native Client | |
| 31 (PNaCl) applications, one for compiling architecture-specific Native | |
| 32 Client applications with newlib, and a third native NaCl toolchain for | |
| 33 compiling with glibc. Newlib and glibc are two different implementations | |
| 34 of the C standard library. All toolchains contain Native Client-compatible | |
| 35 versions of standard compilers, linkers, and other tools. | |
| 36 See :doc:`this document </nacl-and-pnacl>` to help you choose the | |
| 37 right toolchain. | |
| 38 | |
| 39 examples | |
| 40 Each example in the SDK includes C or C++ source files and header files | |
| 41 illustrating how to use NaCl and Pepper, along with a Makefile to build | |
| 42 the example using each of the toolchains. | |
| 43 | |
| 44 Makefiles | |
|
eliben
2013/10/16 22:05:21
How about nuking this one? It goes too deep into t
jvoung (off chromium)
2013/10/16 23:56:13
Yeah, it's part of examples.
| |
| 45 Makefiles have been kept simple so that they are easy to understand, | |
| 46 use, and modify. Glance through or run the Makefiles with ``V=1`` | |
| 47 to determine the commands that are needed to build an application, | |
| 48 then plug those commands into your own build system if you prefer. | |
| 49 | |
| 50 tools | |
| 51 The SDK includes a number of additional tools, which you can use for | |
| 52 tasks such as validating Native Client modules and running modules | |
| 53 from the command line. | |
| 54 | |
| 55 To download and install the SDK, follow the instructions on the | |
| 56 :ref:`Download <download>` page. | |
| 57 | |
| OLD | NEW |