[Buildroot] Using Buildroot generated toolchain on different machine without Buildroot environment

Grant Edwards grant.b.edwards at gmail.com
Tue Jun 26 15:48:14 UTC 2012


On 2012-06-26, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:
> Le Tue, 26 Jun 2012 17:05:59 +0200,
> Aleksandar Zivkovic <Aleksandar.Zivkovic at rt-rk.com> a ??crit :
>
>> I'm trying to extract the toolchain generated by Buildroot in order to 
>> use it on other machines without Buildroot environment. Thought this is 
>> simple and did the following way:
>> * generate toolchain outside Buildroot (BR2_HOST_DIR="$(TOPDIR)/../host")
>> * use files from $(TOPDIR)/../host on other machine
>
> Did you install them at the exact same location on the other machine?
>
> For the moment, the toolchains generated by Buildroot are not
> relocatable, so they must be installed on the other machine at the
> same location they were generated on the initial build machine.

Toolchains built with crosstool-ng can be moved anywhere, but all you
end up with is the basic "libc" libraries.  You'll have to copy the
libraries built by buildroot manually if you want to use them on the
other hosts.

-- 
Grant Edwards               grant.b.edwards        Yow! The PILLSBURY DOUGHBOY
                                  at               is CRYING for an END to
                              gmail.com            BURT REYNOLDS movies!!




More information about the buildroot mailing list