[ARCHIVE][December 16, 2014] Building a GNU Cross tool-chain for ARM926EJ-S
This is a deprecated content.
|
1. What you get after the build ?
You get a GNU cross tool-chain for Linux/ARM926EJ-S:- GNU GCC 4.7.2 C/C++ compiler (gcc, g++,…)
- GNU binutils 2.22 (objdump, readelf,…)
- GNU Standard C Library (glibc) 2.16.0
- GNU debugger 7.4.1 (gdb)
Target options --->
Target Architecture (arm) --->
(armv5te) Architecture level
(arm926ej-s) Emit assembly for CPU
(arm926ej-s) Tune for CPU
(vfp) Use specific FPU
Floating point: (software (no FPU)) --->
Toolchain options --->
(926ejs) Tuple’s vendor string
Operating System --->
Target OS (linux) --->
Linux kernel version (3.7.2)
Binary utilities --->
binutils version (2.22) --->
C compiler --->
gcc version (4.7.2) --->
[*] C++
[ ] Link libstdc++ statically into the gcc binary
C-library --->
C library (glibc) --->
glibc version (2.16.0) --->
(-g) gcc extra flags
Minimum supported kernel version (Specific kernel version) --->
Specific kernel version
(2.6.9) Minimum kernel version to support
Debug facilities --->
[*] gdb --->
Target Architecture (arm) --->
(armv5te) Architecture level
(arm926ej-s) Emit assembly for CPU
(arm926ej-s) Tune for CPU
(vfp) Use specific FPU
Floating point: (software (no FPU)) --->
Toolchain options --->
(926ejs) Tuple’s vendor string
Operating System --->
Target OS (linux) --->
Linux kernel version (3.7.2)
Binary utilities --->
binutils version (2.22) --->
C compiler --->
gcc version (4.7.2) --->
[*] C++
[ ] Link libstdc++ statically into the gcc binary
C-library --->
C library (glibc) --->
glibc version (2.16.0) --->
(-g) gcc extra flags
Minimum supported kernel version (Specific kernel version) --->
Specific kernel version
(2.6.9) Minimum kernel version to support
Debug facilities --->
[*] gdb --->
2. Requirements
- A Linux host machine (may work on other Un*x machines)
- The following tools: grep, sed, bash, cut, install, make, gcc, awk, bison, flex, makeinfo, automake, libtool, stat, curl, cvs, patch, tar, gzip, bzip2, lzma, readlink, binutils, ncurses, expat
- make 3.82 (may not work with make 3.81)
3. Get the material
Download that tarball. It contains all the necessary material (scripts and source codes) to get a working GNU cross tool-chain for ARM926EJ-S.4. Uncompress the tarball
$ tar zxvf crosstool-source-v3.tar.gz
5. Build the cross tool-chain
Run the building script:$ cd crosstool-source-v3
$ ./build.sh all arm-926ejs-linux-gnueabi
$ ./build.sh all arm-926ejs-linux-gnueabi
Be patient...the process of building the cross tool-chain is very long. Once finished, the cross tool-chain is in arm-926ejs-linux-gnueabi sub-directory.