sel_ldr: Remove support for rodata segment at start of executable
[nativeclient.git] / documentation / platform-mac.html
blob7242ed443b2abbb3aca50cba2a75e6d9f5ee0728
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>Platform Details: Mac</title>
6 <link href="stylesheet.css" type="text/css" rel="stylesheet"></link>
7 </head>
9 <body>
11 <div id="toplink">
12 <a href="../README.html">Back to README</a>
13 </div>
15 <h1>Platform Details: Mac</h1>
17 <p>
18 Although Native Client modules are platform independent,
19 the instructions for installing and building Native Client
20 differ a bit between platforms.
21 This page has details about the Mac environment.
22 </p>
24 <p>
25 For instructions on installing and using Native Client,
26 see <a href="getting_started.html">Getting Started</a>.
27 That page and others,
28 such as <a href="building.html">Building Native Client</a>,
29 link to this page as needed.
30 </p>
32 <h3>
33 Contents:
34 </h3>
36 <ul>
37 <li><a href="#testedconfigs">Tested configurations</a> </li>
38 <li> <a href="#run">Running on Mac</a>
39 <ul>
40 <li><a href="#run-python">Getting Python</a> </li>
41 <li><a href="#run-pythonpath">Checking the Python path</a> </li>
42 </ul></li>
43 <li> <a href="#dev">Developing on Mac</a>
44 <ul>
45 <li><a href="#dev-env">Setting up your development environment</a></li>
46 </ul></li>
47 </ul>
49 <h2> <a name="testedconfigs" id="testedconfigs"> </a> Tested configurations </h2>
51 <p>
52 Native Client has been tested with the following Mac configurations:
53 </p>
55 <ul>
56 <li> OS
57 <ul>
58 <li> Mac OS X 10.5 (Leopard) </li>
59 </ul></li>
60 <li> Browser
61 <ul>
62 <li> Firefox 3 </li>
63 </ul> </li>
64 <li> Python
65 <ul>
66 <li> 2.5 </li>
67 </ul> </li>
68 <li> Development environment
69 <ul>
70 <li> Xcode 3.* </li>
71 </ul> </li>
72 </ul>
74 <p>
75 The following browsers are partially supported on Mac:
76 </p>
78 <ul>
79 <li> Camino: Appears to work but has had minimal testing. </li>
80 <li> Firefox 2: We <em>strongly</em> encourage you to upgrade
81 to Firefox 3.
82 On Firefox 2, control, command and alt keys are not enabled
83 in Native Client
84 due to an eavesdropping vulnerability.<br>
85 <b>Note:</b> The control key is used
86 for firing weapons in Quake. </li>
87 <li> Safari: Mouse events don't work. </li>
88 </ul>
90 <h2><a name="run" id="run"> </a> Running on Mac </h2>
92 <h3><a name="run-python" id="run-python"> </a> Getting Python </h3>
94 <p>
95 Python 2.5 is included in Mac OS X 10.5.
96 You can download other versions of Python from
97 <a href="http://www.python.org/download/">http://www.python.org/download/</a>.
98 </p>
100 <h3><a name="run-pythonpath" id="run-pythonpath"> </a> Checking the Python path </h3>
103 The path to <code>python</code> must have <b>no spaces</b>.
104 You can use the <code>which</code> command
105 to see the path:
106 </p>
108 <pre>
109 $ <kbd>which python</kbd>
110 /usr/bin/python
111 </pre>
114 <h2><a name="dev"> </a> Developing on Mac </h2>
116 <h3><a name="dev-env" id="dev-env"> </a> Setting up your development environment </h3>
119 If you don't already have Xcode, download it.
120 For details, see
121 <a href="http://developer.apple.com/tools/xcode">http://developer.apple.com/tools/xcode</a>.</li>
122 </p>
124 <p id="license">
125 Except as otherwise
126 <a href="http://code.google.com/policies.html#restrictions">noted</a>,
127 the content of this page is licensed under a
128 <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons
129 Attribution 2.5 license</a>.
130 </p>
132 </body>
133 </html>