[ARCHIVE][December 16, 2014] 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.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 (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.7.3)
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) --->
(-mno-altivec) extra target CFLAGS
(-g) gcc extra flags
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.7.3)
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) --->
(-mno-altivec) extra target CFLAGS
(-g) gcc extra flags
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 MPC7450.4. Uncompress the tarball
$ tar zxvf crosstool-source-v3.tar.gz
5. Build the cross tool-chain
Run the building script:$ cd
crosstool-source-powerpc-7450-linux-gnu-v3
$ ./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.