How to build a toolchain into the target
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Sep 29 21:28:51 UTC 2010
Hello Marc,
[ This question belongs to the Buildroot mailing list, at
buildroot at uclibc.org ]
On Wed, 29 Sep 2010 17:03:48 -0400
"Marc W. Abel" <me at marcabel.com> wrote:
> Thanks in advance for bearing with me; I've read the uClibc FAQ and
> what I think is the buildroot documentation
> (http://buildroot.uclibc.org/downloads/buildroot.html) a few times on
> different days. Somehow, I've gotten lost.
>
> I'm working with buildroot-2010.08.
>
> 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.)
Two checkboxes are needed :
Build options
-> development files in target filesystem
and
Package Selection for the target
-> Development tools
-> native toolchain in the target filesystem
However, note that having a native toolchain on the target is a fairly
unusual setup for Buildroot. All the point of Buildroot is to
cross-compile things, not to build natively. Therefore, the native
toolchain on target option is only lightly tested, and may have issues.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the uClibc
mailing list