<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
h2
        {mso-style-priority:9;
        mso-style-link:"Überschrift 2 Zchn";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:18.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h3
        {mso-style-priority:9;
        mso-style-link:"Überschrift 3 Zchn";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.berschrift2Zchn
        {mso-style-name:"Überschrift 2 Zchn";
        mso-style-priority:9;
        mso-style-link:"Überschrift 2";
        font-family:"Times New Roman","serif";
        mso-fareast-language:DE;
        font-weight:bold;}
span.berschrift3Zchn
        {mso-style-name:"Überschrift 3 Zchn";
        mso-style-priority:9;
        mso-style-link:"Überschrift 3";
        font-family:"Times New Roman","serif";
        mso-fareast-language:DE;
        font-weight:bold;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";
        mso-fareast-language:DE;}
span.searchword0
        {mso-style-name:searchword0;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:700982721;
        mso-list-template-ids:998556378;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hallo zusammen,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ich wollte toolchain auf meinem Backtrack5r3 als VM installieren, dabei sind Fehler aufgetreten die ich nicht verstehe.<o:p></o:p></p><p class=MsoNormal>Wie kann ich da Abhilfe schaffen?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Bis hierhin war noch alles gut.<o:p></o:p></p><h2><span style='color:#00B050'>GNU ARM <span class=searchword0>toolchain</span><o:p></o:p></span></h2><p><span style='color:#00B050'>This page will describe the procedure for compiling a GNU ARM <span class=searchword0>toolchain</span>. We will build a toolchain consisting of: <o:p></o:p></span></p><ul type=disc><li class=MsoNormal style='color:#00B050;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>GCC 4.8.2 <o:p></o:p></li><li class=MsoNormal style='color:#00B050;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>Binutils 2.21.1 <o:p></o:p></li><li class=MsoNormal style='color:#00B050;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>Newlib 1.19 <o:p></o:p></li></ul><h3 id=Gettingthebuildscript><span style='color:#00B050'>Getting the buildscript<o:p></o:p></span></h3><p><span style='color:#00B050'>First of all, create a directory you want to use for building the <span class=searchword0>toolchain</span>, and download the buildscript <a href="http://bb.osmocom.org/trac/raw-attachment/wiki/GnuArmToolchain/gnu-arm-build.3.sh" title="Attachment 'gnu-arm-build.3.sh' in GnuArmToolchain"><span style='color:#00B050'>gnu-arm-build.3.sh</span></a> there. You will need to make it executable: <o:p></o:p></span></p><pre><span style='color:#00B050'>$ chmod +x gnu-arm-build.3.sh<o:p></o:p></span></pre><h3 id=Dependencies><span style='color:#00B050'>Dependencies<o:p></o:p></span></h3><p><span style='color:#00B050'>In order to build the <span class=searchword0>toolchain</span>, you will need to install the following packages (assuming you're using a Debian-based distribution): <o:p></o:p></span></p><pre><span style='color:#00B050'>$ sudo apt-get install build-essential libgmp3-dev libmpfr-dev libx11-6 libx11-dev texinfo flex bison libncurses5 \<o:p></o:p></span></pre><pre><span style='color:#00B050'>  libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg libncursesw5-dev zlibc zlib1g-dev libmpfr4 libmpc-dev<o:p></o:p></span></pre><h3 id=Preparation><span style='color:#00B050'>Preparation<o:p></o:p></span></h3><p><span style='color:#00B050'>Open a shell in the directory of gnu-arm-build.sh and create the following directories: <o:p></o:p></span></p><pre><span style='color:#00B050'>$ mkdir build install src<o:p></o:p></span></pre><p><span style='color:#00B050'>Download the needed sources to src/: <o:p></o:p></span></p><pre><span style='color:#00B050'>$ cd src/<o:p></o:p></span></pre><pre><span style='color:#00B050'>$ wget <a href="http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2">http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2</a><o:p></o:p></span></pre><pre><span style='color:#00B050'>$ wget <a href="http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2">http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2</a><o:p></o:p></span></pre><pre><span style='color:#00B050'>$ wget <a href="ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz">ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz</a><o:p></o:p></span></pre><h3 id=Buildingthetoolchain><span style='color:#00B050'>Building the <span class=searchword0>toolchain</span><o:p></o:p></span></h3><pre><span style='color:#00B050'>$ cd ..<o:p></o:p></span></pre><pre><span style='color:#00B050'>$ ./gnu-arm-build.3.sh <o:p></o:p></span></pre><pre><span style='color:#00B050'>I will build an arm-none-eabi cross-compiler:<o:p></o:p></span></pre><pre><span style='color:#00B050'><o:p> </o:p></span></pre><pre><span style='color:#00B050'>  Prefix: <YOURPATH>/install<o:p></o:p></span></pre><pre><span style='color:#00B050'>  Sources: <YOURPATH>/src<o:p></o:p></span></pre><pre><span style='color:#00B050'>  Build files: <YOURPATH>/build<o:p></o:p></span></pre><pre><span style='color:#00B050'><o:p> </o:p></span></pre><pre><span style='color:#00B050'>Press ^C now if you do NOT want to do this.<o:p></o:p></span></pre><p class=MsoNormal><span style='color:#00B050'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red'>Dann kam folgendes, als wenn er Probleme mit den Ordnern hatte.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red;mso-fareast-language:DE'><img border=0 width=853 height=640 id="Grafik_x0020_1" src="cid:image001.jpg@01D176DB.72818020" alt="cid:image001.jpg@01D17613.420C17C0"></span><span style='font-size:12.0pt;color:red'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red'>Könnt ihr mir weiterhelfen?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:red'>Gruß Peseta3<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>