LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Building a Tool Chain (https://www.linuxquestions.org/questions/linux-kernel-70/building-a-tool-chain-510946/)

yugandhar 12-15-2006 11:42 PM

Building a Tool Chain
 
Hi,
I want to steps for how to build a tool chain. I worked on linux but on kernel compilation and building tool chain. So, plz any one can explain me the steps for how to build a tool chain. I want to build a tool chain on Intel x86 Platform with Fedora core 4 linux for At91RM9200 platform and if any one know where can i freely download the patches for this platform.

charleykadet 12-16-2006 09:13 AM

There is a example of toolchain but I don't think it's what you want to do.. http://www.linuxfromscratch.org/lfs/view/development/

the_unforgiven 12-16-2006 12:38 PM

Quote:

Originally Posted by yugandhar
Hi,
I want to steps for how to build a tool chain. I worked on linux but on kernel compilation and building tool chain. So, plz any one can explain me the steps for how to build a tool chain. I want to build a tool chain on Intel x86 Platform with Fedora core 4 linux for At91RM9200 platform and if any one know where can i freely download the patches for this platform.

I don't think you need to re-invent the wheel. There are many pre-built ARM gcc toolchains available - this one is one of them:
http://www.gnuarm.org/

charleykadet 12-16-2006 05:45 PM

It's take only 2-3 hours to build.. you don't need to install all stuff like grub and things like that.. install binutils, gcc and glibc.. with the extension for you microcontroller... you choose the arch in binutils and after you just add a -mcpu <your arch> or something like this in your shell variable


All times are GMT -5. The time now is 03:38 AM.