[Buildroot] How to deploy Buildroot's crosscompile toolchain???

Waldemar Brodkorb wbx at openadk.org
Sun Oct 5 06:38:35 UTC 2014


Hi,
Tal Lubko wrote,

> Hi
> 
> I've wanted to ask what is the right way to build and deploy Buildroot's 
> toolchain to other machines?
> These machines don't have Buildroot to build the toolchain.
> 
> Currently (being ignorant about the right way to do it), after building the 
> toolcahin, I'm just making a tar of output/host and copy it to other machine.
> There I'm untarring it to some directory and starting to cross compile...
> 
> Things seemed to be working when I've worked with an External toolchain (
> Sourcery CodeBench). However when I've switched to Buildroot's toolchain, I got
> a message about missing libmpc.so.3. Then I've started to wonder what is the
> right way to build and deploy the toolchain.
> 
> When I run "gcc -v"
> I get a lot parameters like prefix, sysroot and more that show the directory it
> was build in:
> /home/tal/buildroot/2014.08/...
> 
> Which leads me again to think that I'm doing something wrong...
> Any help will be appreciated.

I am not 100% sure, but I think buildroot internal toolchains are
not relocatable. At least not via a relative sysroot directory.

best regards
 Waldemar



More information about the buildroot mailing list