• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2011.09/share/doc/arm-arm-none-eabi/html/getting-started/
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.4.�Installing Sourcery CodeBench Lite</title><link rel="stylesheet" href="cs.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="Sourcery CodeBench Lite"><link rel="up" href="chap-installation.html" title="Chapter�2.�Installation and Configuration"><link rel="prev" href="ch02s03.html" title="2.3.�Downloading an Installer"><link rel="next" href="sec-updating.html" title="2.5.�Installing Sourcery CodeBench Lite Updates"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.4.�Installing Sourcery CodeBench Lite</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a>�</td><th width="60%" align="center">Chapter�2.�Installation and Configuration</th><td width="20%" align="right">�<a accesskey="n" href="sec-updating.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sec-installing"></a>2.4.�Installing Sourcery CodeBench Lite</h2></div></div></div><p>
2      The method used to install Sourcery CodeBench Lite depends on
3      <span>your host system and</span>
4      the kind of installation package you have downloaded.
5    </p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id521994"></a>2.4.1.�Using the Sourcery CodeBench Lite Installer on Microsoft Windows</h3></div></div></div><p>
6        If you have received Sourcery CodeBench Lite on CD, insert the CD in your computer.
7        On most computers, the installer then starts automatically.  If
8        your computer has been configured not to automatically run CDs,
9        open <code class="guilabel">My Computer</code>, and double click on the CD.
10        If you downloaded Sourcery CodeBench Lite, double-click on the installer.
11      </p><p>
12        After the installer starts, follow the on-screen dialogs to
13        install Sourcery CodeBench Lite.  
14        The installer is intended to be self-explanatory and on most
15        pages the defaults are appropriate.  
16      </p><div class="informalfigure"><div class="mediaobject" align="center"><img src="images/install1.png" align="middle"><div class="caption"><p><b>Running the Installer.�</b>
17                The graphical installer guides you through the steps
18                to install Sourcery CodeBench Lite.
19              </p></div></div></div><p>
20        You may want to change the install directory pathname and
21        customize the shortcut installation.
22      </p><div class="informalfigure"><div class="mediaobject" align="center"><img src="images/install2.png" align="middle"><div class="caption"><p><b>Choose Install Folder.�</b>
23                Select the pathname to your install directory.
24              </p></div></div></div><div class="informalfigure"><div class="mediaobject" align="center"><img src="images/install3.png" align="middle"><div class="caption"><p><b>Choose Shortcut Folder.�</b>
25                You can customize where the installer creates shortcuts
26                for quick access to Sourcery CodeBench Lite.
27              </p></div></div></div><p>
28        When the installer has finished, it asks if you want to launch
29        
30        a viewer for the Getting Started guide.  Finally, the installer 
31        displays a summary screen to confirm a successful install
32        before it exits.
33      </p><div class="informalfigure"><div class="mediaobject" align="center"><img src="images/install4.png" align="middle"><div class="caption"><p><b>Install Complete.�</b>
34                You should see a screen similar to this after a successful
35                install.
36              </p></div></div></div><p>
37        If you prefer, you can run the installer in console mode rather than
38	using the graphical interface.  To do this, invoke the installer
39	with the <code class="option">-i console</code> command-line option.  For example:
40        </p><pre class="screen">&gt; /path/to/package.exe -i console</pre><p>
41      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id522204"></a>2.4.2.�Using the Sourcery CodeBench Lite Installer on GNU/Linux Hosts</h3></div></div></div><p>
42        Start the graphical installer by invoking the executable shell script:
43        </p><pre class="screen">&gt; /bin/sh ./path/to/package.bin</pre><p>
44      </p><p>
45        After the installer starts, follow the on-screen dialogs to 
46        install Sourcery CodeBench Lite.
47        <span>
48          For additional details on running the installer,
49          see the discussion and screen shots in the
50          Microsoft Windows section above.
51        </span>
52      </p><p>
53        If you prefer, or if your host system does not run the
54	X Window System, you can run the installer in console mode rather than
55	using the graphical interface.  To do this, invoke the installer
56	with the <code class="option">-i console</code> command-line option.  For example:
57        </p><pre class="screen">&gt; /bin/sh ./path/to/package.bin -i console</pre><p>
58      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="tbz2inst"></a>2.4.3.�Installing Sourcery CodeBench Lite from a Compressed Archive</h3></div></div></div><p>
59        You do not need to be a system administrator to install Sourcery CodeBench Lite
60	from a compressed archive.  You may install Sourcery CodeBench Lite using any user
61        account and in any directory to which you have
62        write access.  This guide assumes that you have decided to install
63        Sourcery CodeBench Lite in the <code class="filename">$HOME/CodeSourcery</code> subdirectory of
64        your home directory and that the filename of the package you have
65        downloaded is <code class="filename">/path/to/package.tar.bz2</code>. After installation
66        the toolchain will be in 
67        <code class="filename">$HOME/CodeSourcery/sourceryg++-2011.09</code>.
68      </p><p>
69        First, uncompress the package file:
70        </p><pre class="screen">&gt; bunzip2 /path/to/package.tar.bz2</pre><p>
71        Next, create the directory in which you wish to install the package:
72        </p><pre class="screen">&gt; mkdir -p $HOME/CodeSourcery</pre><p>
73        Change to the installation directory:
74        </p><pre class="screen">&gt; cd $HOME/CodeSourcery</pre><p>
75        Unpack the package:
76        </p><pre class="screen">&gt; tar xf /path/to/package.tar</pre><p>
77      </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="chap-installation.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="sec-updating.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.3.�Downloading an Installer�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�2.5.�Installing Sourcery CodeBench Lite Updates</td></tr></table></div></body></html>
78