[Buildroot] toolchain into the root disk
themaxmail at gmail.com
Mon Mar 7 17:46:28 UTC 2011
>Just curious, which toolchain have you used ?
I built a x86-powerpc64 cross compiler based on gcc-4.5.2 and glibc-2.12.2
>In the mean time, you can force the GCC version by modifying the code,
>but you'll very likely have issues when building gcc for the target.
I will take the risk =)
>Do you really need a native toolchain on the target ? What do you want
>to build on the target ?
I prefer to have the toolchain also on the target for quick recompilation
debugging phase =P
On Mon, Mar 7, 2011 at 5:21 PM, Thomas Petazzoni <
thomas.petazzoni at free-electrons.com> wrote:
> On Mon, 7 Mar 2011 16:54:23 +0000
> Max <themaxmail at gmail.com> wrote:
> > the BR2_PACKAGE_GCC_TARGET seams to me to work only with the internal
> > toolchain.
> Yes. Nobody has done the effort on getting BR2_PACKAGE_GCC_TARGET to
> work with external toolchain as of today. As said previously, Buildroot
> is a cross-compiling environment, so the need of a toolchain on the
> target is not very common.
> > I'm creating a root disk for a powerpc64 architecture. As build root does
> > not support powerpc64, I'm
> > using and external toolchain. With few workarounds evething works fine.
> Just curious, which toolchain have you used ?
> > When I use BR2_PACKAGE_GCC_TARGET=y the tool tries to download gcc but
> > version is not
> > define so it tries to get the file gcc-.tar.bz2.
> Yes, correct.
> > Can you please tell me where in the tool the gcc version is set? I was
> > able to spot the location.
> It isn't set in the external toolchain case, that's the problem. I now
> Gustavo Zacarias has planned to rework the gcc handling, and it should
> probably fix this problem.
> In the mean time, you can force the GCC version by modifying the code,
> but you'll very likely have issues when building gcc for the target.
> Do you really need a native toolchain on the target ? What do you want
> to build on the target ?
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot