Hallo zusammen,
ich wollte toolchain auf meinem Backtrack5r3 als VM installieren, dabei sind Fehler aufgetreten die ich nicht verstehe.
Wie kann ich da Abhilfe schaffen?
Bis hierhin war noch alles gut.
This page will describe the procedure for compiling a GNU ARM toolchain. We will build a toolchain consisting of:
First of all, create a directory you want to use for building the toolchain, and download the buildscript gnu-arm-build.3.sh there. You will need to make it executable:
$ chmod +x gnu-arm-build.3.sh
In order to build the toolchain, you will need to install the following packages (assuming you're using a Debian-based distribution):
$ sudo apt-get install build-essential libgmp3-dev libmpfr-dev libx11-6 libx11-dev texinfo flex bison libncurses5 \
libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg libncursesw5-dev zlibc zlib1g-dev libmpfr4 libmpc-dev
Open a shell in the directory of gnu-arm-build.sh and create the following directories:
$ mkdir build install src
Download the needed sources to src/:
$ cd src/
$ wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2
$ wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2
$ wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz
$ cd ..
$ ./gnu-arm-build.3.sh
I will build an arm-none-eabi cross-compiler:
Prefix: <YOURPATH>/install
Sources: <YOURPATH>/src
Build files: <YOURPATH>/build
Press ^C now if you do NOT want to do this.
Dann kam folgendes, als wenn er Probleme mit den Ordnern hatte.
Könnt ihr mir weiterhelfen?
Gruß Peseta3