How to build a toolchain into the target

Enrico Weigelt weigelt at
Thu Sep 30 16:57:31 UTC 2010

* Marc W. Abel <me at> wrote:

> Question:  Can I build my toolchain to run on the target? 
> I'm laboring with the notion that all I had to do was check
> the right box in buildroot's menuconfig, but I never found
> that box.  The root filesystem I produced doesn't have a
> compiler, and the toolchain I seem to have built is for the
> host architecture.  (Host is x86-64, and target is i486.)

You'd have to build the toolchain packages through the
crosscompiler. I didn't try it yet, but it should work.

BTW: if you're looking for flexible cross-capable distro build
system, you might like to have a look at Briegel:

As it by default fetches it's source trees from the OSS-QM
project, you might also like to read:

 Enrico Weigelt, metux IT service --

 phone:  +49 36207 519931  email: weigelt at
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme

More information about the uClibc mailing list