[ARCHIVE][October 08, 2012] Building a GNU Cross tool-chain for PPC440FP
This is a deprecated content.
|
1. What you get after the build ?
You get a GNU cross tool-chain for Linux/PPC440FP:- GNU GCC 4.4.6 C/C++ compiler (gcc, g++,…)
- GNU binutils 2.19.1 (objdump, readelf,…)
- GNU Standard C Library (glibc) 2.9
- GNU debugger 6.8 (gdb)
Target options --->
Target Architecture (powerpc) --->
(440fp) Emit assembly for CPU
(440fp) Tune for CPU
Floating point: (hardware (FPU)) --->
Toolchain options --->
(440fp) Tuple’s vendor string
Operating System --->
Target OS (linux) --->
Linux kernel version (2.6.35.13 (longterm))
Binary utilities --->
binutils version (2.19.1) --->
[*] binutils libraries for the target
[*] libiberty (NEW)
[*] libbfd (NEW)
C compiler --->
gcc version (4.4.6) --->
[*] C++
[ ] Link libstdc++ statically into the gcc binary
C-library --->
C library (glibc) --->
glibc version (2.9) --->
(-U_FORTIFY_SOURCE) extra target CFLAGS
[*] Use the ports addon
Debug facilities --->
[*] gdb --->
Companion libraries --->
MPFR version (2.4.2) --->
CLooG/ppl version (0.15.9) --->
Target Architecture (powerpc) --->
(440fp) Emit assembly for CPU
(440fp) Tune for CPU
Floating point: (hardware (FPU)) --->
Toolchain options --->
(440fp) Tuple’s vendor string
Operating System --->
Target OS (linux) --->
Linux kernel version (2.6.35.13 (longterm))
Binary utilities --->
binutils version (2.19.1) --->
[*] binutils libraries for the target
[*] libiberty (NEW)
[*] libbfd (NEW)
C compiler --->
gcc version (4.4.6) --->
[*] C++
[ ] Link libstdc++ statically into the gcc binary
C-library --->
C library (glibc) --->
glibc version (2.9) --->
(-U_FORTIFY_SOURCE) extra target CFLAGS
[*] Use the ports addon
Debug facilities --->
[*] gdb --->
Companion libraries --->
MPFR version (2.4.2) --->
CLooG/ppl version (0.15.9) --->
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
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 PPC440FP.4. Uncompress the tarball
$ tar zxvf
crosstool-source-powerpc-440fp-linux-gnu-v1.tar.gz
5. Build the cross tool-chain
Run the building script:$ cd
crosstool-source-powerpc-440fp-linux-gnu-v1
$ ./build.sh all
Be patient...the process of building the cross tool-chain is very
long. Once finished, the cross tool-chain is in
powerpc-440fp-linux-gnu sub-directory.$ ./build.sh all