EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Building an ARM-GCC toolchain

Started by Meindert Sprang September 4, 2007
"David Brown" <david@westcontrol.removethisbit.com> wrote in message
news:46e11d96$0$27822$8404b019@news.wineasy.se...
> Otherwise, make sure your steps are: > > 0) Unpack and configure the tarballs > 1) Build and install binutils (and make sure it is on your path!) > 2) Build the bootstrap compiler > 3) Build the library > 4) Build the main compiler > > (The bootstrap step is apparently not needed for newer gcc versions, but > it is certainly part of a 3.2 build.)
Thanks for this David and thanks to all others (especially Adrian for his script) for your tips. I managed to get a working compiler again! Meindert
"Meindert Sprang" <ms@NOJUNKcustomORSPAMware.nl> skrev i meddelandet 
news:46dfe553$0$28845$e4fe514c@dreader26.news.xs4all.nl...
> "Adrian" <adrianbica@yahoo.com> wrote in message > news:1189016361.576512.66130@k79g2000hse.googlegroups.com... >> Can you summarize what where your steps? It is hard to answer without >> knowing what you did. I suspect one step is missing > > The following script is used, which I got from someone who uses this to > rebuild his toolchain and is known to work: >
If you download buildroot from "buildroot.uclibc.org" you can easily create a cross compiler. By doing make menuconfig you get a menu where you can select architecture (arm) gcc (up to 4.2.1) binutils (normally 2.17) Needs to be run under Linux .... -- Best Regards, Ulf Samuelsson This is intended to be my personal opinion which may, or may not be shared by my employer Atmel Nordic AB

The 2024 Embedded Online Conference