?? gnu_tools.html
字號:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Authors" content="Olivier DEBICKI, Mohammed Amine SAYA">
<title>GNU tools for AT91RM9200DK</title>
</head>
<body bgcolor="white">
<center>
<h1>
<hr WIDTH="100%"><a NAME="GNU tools for AT91RM9200DK"></a>GNU tools for
AT91RM9200DK
<hr WIDTH="100%"></h1></center>
The goal is to get a cross-compiler toolchain for ARM, to build linux kernel
and user applications for the AT91RM9200DK. This board integrates an ARM920T
based microcontroller. Some pre-compiled toolchains for arm can be downloaded
in the arm-linux world. However, you may wish to compile and install from
GNU source code. This note is a short introduction to these two solutions.
<ul>
<li>
<a href="#Downloading and installing a precompiled GNU">Installing a pre-compiled
GNU toolchain for ARM</a></li>
<li>
<a href="#Building and installing a GNU toolchain from">Building a GNU
tool chain for ARM</a></li>
</ul>
<h2>
<hr SIZE=4 WIDTH="100%"><a NAME="Downloading and installing a precompiled GNU"></a>Downloading
and installing a precompiled GNU toolchain</h2>
<h3>
Getting a pre-compiled toolchain</h3>
<p>A precompiled tool chain: cross-2.95.3.tar.bz2 can be found in the AT91RM9200DK
deliveries <a href="../../../../Linux-arm9/cross-2.95.3.zip"><img src="../../../../Pictures/logo/Icon_Disk.gif" width="16" height="16" border="0"></a>.
<br>
It can also be downloaded at ftp://ftp.arm.linux.org.uk/pub/armlinux/toolchain/
</p>
<p>This toolchain is delivered with source files and script used to compile
it.
<br>It includes
<ul>
<li>
Bin utilities,</li>
<li>
ARM linux C compiler and linker</li>
<li>
glibc Library</li>
<li>
ARM linux C++ compiler</li>
</ul>
<h3>
Installing the pre-compiled toolchain</h3>
Firstly, you need to decide where you are going to install the arm cross-compiler
toolchain. A good place is to install it in /usr/local/ directory. If you
wish to build it in a different place, replace /usr/local with your preferred
location.
<dl>
<dd> bash$ su</dd>
<dd> Password:</dd>
<dd> bash# cd /usr/local</dd>
<dd> bash# mkdir arm</dd>
<dd> bash# cd arm</dd>
<dd> bash# tar Ixvf cross-2.95.3.tar.bz2</dd>
</dl>
Add /usr/local/arm/2.95.3/bin to your path to use the cross compiler.
<hr WIDTH="100%">
<h2>
<a NAME="Building and installing a GNU toolchain from"></a>Building and
installing a GNU toolchain from source code</h2>
<p>Please refer to this link for a complete and thorough information about building and installing a GNU toolchain for Linux :
<a href="http://www-106.ibm.com/developerworks/linux/library/l-embdev.html">http://www-106.ibm.com/developerworks/linux/library/l-embdev.html</a>
<br><br>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -