OLD | NEW |
1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
2 | 2 |
3 <section id="download-the-native-client-sdk"> | 3 <section id="download-the-native-client-sdk"> |
4 <span id="download"></span><h1 id="download-the-native-client-sdk"><span id="dow
nload"></span>Download the Native Client SDK</h1> | 4 <span id="download"></span><h1 id="download-the-native-client-sdk"><span id="dow
nload"></span>Download the Native Client SDK</h1> |
5 <p>This page provides an overview of the Native Client SDK, and instructions for | 5 <p>This page provides an overview of the Native Client SDK, and instructions for |
6 downloading and installing the SDK.</p> | 6 downloading and installing the SDK.</p> |
7 <div id="home"> | 7 <div id="home"> |
8 <a class="button-nacl button-download" href="http://storage.googleapis.com/nativ
eclient-mirror/nacl/nacl_sdk/nacl_sdk.zip">Download SDK Zip File</a> | 8 <a class="button-nacl button-download" href="http://storage.googleapis.com/nativ
eclient-mirror/nacl/nacl_sdk/nacl_sdk.zip">Download SDK Zip File</a> |
9 </div><h2 id="overview"><span id="sdk-overview"></span>Overview</h2> | 9 </div><h2 id="overview"><span id="sdk-overview"></span>Overview</h2> |
10 <p>The Native Client SDK includes:</p> | 10 <p>The Native Client SDK includes:</p> |
(...skipping 29 matching lines...) Expand all Loading... |
40 <ul class="small-gap"> | 40 <ul class="small-gap"> |
41 <li>On the Mac, you need to install <code>make</code> on your system before you
can build | 41 <li>On the Mac, you need to install <code>make</code> on your system before you
can build |
42 and run the examples in the SDK. One easy way to get <code>make</code>, along wi
th | 42 and run the examples in the SDK. One easy way to get <code>make</code>, along wi
th |
43 several other useful tools, is to install <a class="reference external" href="ht
tps://developer.apple.com/technologies/tools/">Xcode Developer Tools</a>. After
installing Xcode, | 43 several other useful tools, is to install <a class="reference external" href="ht
tps://developer.apple.com/technologies/tools/">Xcode Developer Tools</a>. After
installing Xcode, |
44 go to the XCode menu, open the Preferences dialog box then select Downloads | 44 go to the XCode menu, open the Preferences dialog box then select Downloads |
45 and Components. Verify that Command Line Tools are installed. If you’d rat
her | 45 and Components. Verify that Command Line Tools are installed. If you’d rat
her |
46 not install Xcode, you can download and build an <a class="reference external" h
ref="http://mac.softpedia.com/dyn-postdownload.php?p=44632&t=4&i=1">open
source version</a> of <code>make</code>. | 46 not install Xcode, you can download and build an <a class="reference external" h
ref="http://mac.softpedia.com/dyn-postdownload.php?p=44632&t=4&i=1">open
source version</a> of <code>make</code>. |
47 To build the program you may also need to download and install <a class="referen
ce external" href="https://github.com/kennethreitz/osx-gcc-installer">gcc</a>.</
li> | 47 To build the program you may also need to download and install <a class="referen
ce external" href="https://github.com/kennethreitz/osx-gcc-installer">gcc</a>.</
li> |
48 <li>On Windows, the Native Client SDK includes a copy of GNU Make.</li> | 48 <li>On Windows, the Native Client SDK includes a copy of GNU Make.</li> |
49 </ul> | 49 </ul> |
50 <h2 id="installing-the-sdk"><span id="id3"></span>Installing the SDK</h2> | 50 <h2 id="versioning"><span id="id3"></span>Versioning</h2> |
51 <h3 id="downloading-and-unzipping"><span id="id4"></span>Downloading and Unzippi
ng</h3> | 51 <p>Chrome is released on a six week cycle, and developer versions of Chrome are |
| 52 pushed to the public beta channel three weeks before each release. As with any |
| 53 software, each release of Chrome may include changes to Native Client and the |
| 54 Pepper interfaces that may require modification to existing applications. |
| 55 However, modules compiled for one version of Pepper/Chrome should work with |
| 56 subsequent versions of Pepper/Chrome. The SDK includes multiple versions of the |
| 57 Pepper APIs to help developers make adjustments to API changes and take |
| 58 advantage of new features: <a class="reference external" href="/native-client/pe
pper_stable">stable</a>, <a class="reference external" href="/native-client/pepp
er_beta">beta</a> and <a class="reference external" href="/native-client/pepper_
dev">dev</a>.</p> |
| 59 <h2 id="installing-the-sdk"><span id="id4"></span>Installing the SDK</h2> |
| 60 <h3 id="downloading-and-unzipping"><span id="id5"></span>Downloading and Unzippi
ng</h3> |
52 <ol class="arabic"> | 61 <ol class="arabic"> |
53 <li><p class="first">Download the <a class="reference external" href="http://sto
rage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip">SDK update z
ip file</a>.</p> | 62 <li><p class="first">Download the <a class="reference external" href="http://sto
rage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip">SDK update z
ip file</a>.</p> |
54 </li> | 63 </li> |
55 <li><p class="first">Unzip the file:</p> | 64 <li><p class="first">Unzip the file:</p> |
56 <ul class="small-gap"> | 65 <ul class="small-gap"> |
57 <li><p class="first">On Mac/Linux, run the command <code>unzip nacl_sdk.zip</cod
e> in a terminal | 66 <li><p class="first">On Mac/Linux, run the command <code>unzip nacl_sdk.zip</cod
e> in a terminal |
58 window.</p> | 67 window.</p> |
59 </li> | 68 </li> |
60 <li><p class="first">On Windows, right-click on the .zip file and select “
Extract All...”. A | 69 <li><p class="first">On Windows, right-click on the .zip file and select “
Extract All...”. A |
61 dialog box opens; enter a location and click “Extract”.</p> | 70 dialog box opens; enter a location and click “Extract”.</p> |
62 </li> | 71 </li> |
63 </ul> | 72 </ul> |
64 <p>A directory is created called <code>nacl_sdk</code> with the following files
and | 73 <p>A directory is created called <code>nacl_sdk</code> with the following files
and |
65 directories:</p> | 74 directories:</p> |
66 <ul class="small-gap"> | 75 <ul class="small-gap"> |
67 <li><p class="first"><code>naclsdk</code> (and <code>naclsdk.bat</code> for Wind
ows) — the update utility, | 76 <li><p class="first"><code>naclsdk</code> (and <code>naclsdk.bat</code> for Wind
ows) — the update utility, |
68 which is the command you run to download and update bundles.</p> | 77 which is the command you run to download and update bundles.</p> |
69 </li> | 78 </li> |
70 <li><p class="first"><code>sdk_cache</code> — a directory with a manifest
file that lists the bundles | 79 <li><p class="first"><code>sdk_cache</code> — a directory with a manifest
file that lists the bundles |
71 you have already downloaded.</p> | 80 you have already downloaded.</p> |
72 </li> | 81 </li> |
73 <li><p class="first"><code>sdk_tools</code> — the code run by the <code>na
clsdk</code> command.</p> | 82 <li><p class="first"><code>sdk_tools</code> — the code run by the <code>na
clsdk</code> command.</p> |
74 </li> | 83 </li> |
75 </ul> | 84 </ul> |
76 </li> | 85 </li> |
77 </ol> | 86 </ol> |
78 <h3 id="installing-the-stable-bundle"><span id="id5"></span>Installing the stabl
e bundle</h3> | 87 <h3 id="installing-the-stable-bundle"><span id="id6"></span>Installing the stabl
e bundle</h3> |
79 <ol class="arabic"> | 88 <ol class="arabic"> |
80 <li><p class="first">To see the SDK bundles that are available for download, go
to the | 89 <li><p class="first">To see the SDK bundles that are available for download, go
to the |
81 <code>nacl_sdk</code> directory and run <code>naclsdk</code> with the <code>list
</code> command. The SDK | 90 <code>nacl_sdk</code> directory and run <code>naclsdk</code> with the <code>list
</code> command. The SDK |
82 includes a separate bundle for each version of Chrome/Pepper.</p> | 91 includes a separate bundle for each version of Chrome/Pepper.</p> |
83 <p>On Mac/Linux:</p> | 92 <p>On Mac/Linux:</p> |
84 <pre class="prettyprint"> | 93 <pre class="prettyprint"> |
85 $ cd nacl_sdk | 94 $ cd nacl_sdk |
86 $ ./naclsdk list | 95 $ ./naclsdk list |
87 </pre> | 96 </pre> |
88 <p>On Windows:</p> | 97 <p>On Windows:</p> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 </pre> | 141 </pre> |
133 <p>By default, <code>naclsdk</code> only downloads bundles that are recommended, | 142 <p>By default, <code>naclsdk</code> only downloads bundles that are recommended, |
134 generally those that are “stable.” For example, if the current ̶
0;stable” | 143 generally those that are “stable.” For example, if the current ̶
0;stable” |
135 bundle is <code>pepper_35</code>, then the <code>update</code> downloads that bu
ndle. To | 144 bundle is <code>pepper_35</code>, then the <code>update</code> downloads that bu
ndle. To |
136 download the <code>pepper_36</code> bundle you must ask for it explicitly:</p> | 145 download the <code>pepper_36</code> bundle you must ask for it explicitly:</p> |
137 <pre class="prettyprint"> | 146 <pre class="prettyprint"> |
138 $ ./naclsdk update pepper_36 | 147 $ ./naclsdk update pepper_36 |
139 </pre> | 148 </pre> |
140 </li> | 149 </li> |
141 </ol> | 150 </ol> |
142 <h2 id="updating-bundles"><span id="id6"></span>Updating bundles</h2> | 151 <h2 id="updating-bundles"><span id="id7"></span>Updating bundles</h2> |
143 <ol class="arabic"> | 152 <ol class="arabic"> |
144 <li><p class="first">Run <code>naclsdk</code> with the <code>list</code> command
. This shows you the list of available | 153 <li><p class="first">Run <code>naclsdk</code> with the <code>list</code> command
. This shows you the list of available |
145 bundles and verifies which bundles you have installed.</p> | 154 bundles and verifies which bundles you have installed.</p> |
146 <p>On Mac/Linux:</p> | 155 <p>On Mac/Linux:</p> |
147 <pre class="prettyprint"> | 156 <pre class="prettyprint"> |
148 $ ./naclsdk list | 157 $ ./naclsdk list |
149 </pre> | 158 </pre> |
150 <p>On Windows:</p> | 159 <p>On Windows:</p> |
151 <pre class="prettyprint"> | 160 <pre class="prettyprint"> |
152 > naclsdk list | 161 > naclsdk list |
(...skipping 29 matching lines...) Expand all Loading... |
182 <p>On Mac/Linux:</p> | 191 <p>On Mac/Linux:</p> |
183 <pre class="prettyprint"> | 192 <pre class="prettyprint"> |
184 $ ./naclsdk update --force | 193 $ ./naclsdk update --force |
185 </pre> | 194 </pre> |
186 <p>On Windows:</p> | 195 <p>On Windows:</p> |
187 <pre class="prettyprint"> | 196 <pre class="prettyprint"> |
188 > naclsdk update --force | 197 > naclsdk update --force |
189 </pre> | 198 </pre> |
190 </li> | 199 </li> |
191 </ol> | 200 </ol> |
192 <h2 id="help-with-the-naclsdk-utility"><span id="id7"></span>Help with the <code
>naclsdk</code> utility</h2> | 201 <h2 id="help-with-the-naclsdk-utility"><span id="id8"></span>Help with the <code
>naclsdk</code> utility</h2> |
193 <ol class="arabic"> | 202 <ol class="arabic"> |
194 <li><p class="first">For more information about the <code>naclsdk</code> utility
, run:</p> | 203 <li><p class="first">For more information about the <code>naclsdk</code> utility
, run:</p> |
195 <p>On Mac/Linux:</p> | 204 <p>On Mac/Linux:</p> |
196 <pre class="prettyprint"> | 205 <pre class="prettyprint"> |
197 $ ./naclsdk help | 206 $ ./naclsdk help |
198 </pre> | 207 </pre> |
199 <p>On Windows:</p> | 208 <p>On Windows:</p> |
200 <pre class="prettyprint"> | 209 <pre class="prettyprint"> |
201 > naclsdk help | 210 > naclsdk help |
202 </pre> | 211 </pre> |
203 </li> | 212 </li> |
204 </ol> | 213 </ol> |
205 <h2 id="next-steps"><span id="id8"></span>Next steps</h2> | 214 <h2 id="next-steps"><span id="id9"></span>Next steps</h2> |
206 <ul class="small-gap"> | 215 <ul class="small-gap"> |
207 <li>Browse the <a class="reference external" href="release-notes">Release Notes<
/a> for important | 216 <li>Browse the <a class="reference external" href="release-notes">Release Notes<
/a> for important |
208 information about the SDK and new bundles.</li> | 217 information about the SDK and new bundles.</li> |
209 <li>If you’re just starting with Native Client, we recommend reading the | 218 <li>If you’re just starting with Native Client, we recommend reading the |
210 <a class="reference external" href="../overview">Technical Overview</a> and walk
ing through the | 219 <a class="reference external" href="../overview">Technical Overview</a> and walk
ing through the |
211 <a class="reference external" href="devguide/tutorial/tutorial-part1">Getting St
arted Tutorial</a>.</li> | 220 <a class="reference external" href="devguide/tutorial/tutorial-part1">Getting St
arted Tutorial</a>.</li> |
212 <li>If you’d rather dive in, see | 221 <li>If you’d rather dive in, see |
213 <a class="reference external" href="devguide/devcycle/building">Building Native
Client Modules</a>.</li> | 222 <a class="reference external" href="devguide/devcycle/building">Building Native
Client Modules</a>.</li> |
214 </ul> | 223 </ul> |
215 </section> | 224 </section> |
216 | 225 |
217 {{/partials.standard_nacl_article}} | 226 {{/partials.standard_nacl_article}} |
OLD | NEW |