[ARCHIVE][October 24, 2013] Building a GNU Cross tool-chain for MPC7450
This is a deprecated content.
|
1. What you get after the build ?
You get a GNU cross tool-chain for Linux/MPC7450:- GNU GCC 4.4.6 C/C++ compiler (gcc, g++,…)
- GNU binutils 2.21.1a (objdump, readelf,…)
- GNU Standard C Library (glibc) 2.9
- GNU debugger 6.8 (gdb)
Target options --->
Target Architecture (powerpc) --->
(7450) Emit assembly for CPU
(7450) Tune for CPU
Floating point: (hardware (FPU)) --->
Toolchain options --->
(7450) Tuple’s vendor string
Operating System --->
Target OS (linux) --->
Linux kernel version (3.0.4)
Binary utilities --->
binutils version (2.21.1a) --->
[*] binutils libraries for the target
[*] libiberty
[*] libbfd
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 -g -mno-altivec) extra target CFLAGS
[*] Use the ports addon
Debug facilities --->
[*] gdb --->
Target Architecture (powerpc) --->
(7450) Emit assembly for CPU
(7450) Tune for CPU
Floating point: (hardware (FPU)) --->
Toolchain options --->
(7450) Tuple’s vendor string
Operating System --->
Target OS (linux) --->
Linux kernel version (3.0.4)
Binary utilities --->
binutils version (2.21.1a) --->
[*] binutils libraries for the target
[*] libiberty
[*] libbfd
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 -g -mno-altivec) extra target CFLAGS
[*] Use the ports addon
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.81 (will not work with make 3.82)
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 MPC7450.4. Uncompress the tarball
$ tar zxvf crosstool-source-v2.tar.gz
5. Build the cross tool-chain
Run the building script:$ cd
crosstool-source-powerpc-7450-linux-gnu-v2
$ ./build.sh all
$ ./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-7450-linux-gnu sub-directory.