From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waldemar Brodkorb Date: Sun, 5 Oct 2014 08:38:35 +0200 Subject: [Buildroot] How to deploy Buildroot's crosscompile toolchain??? In-Reply-To: <1412490777.5471.YahooMailNeo@web122103.mail.ne1.yahoo.com> References: <1412490777.5471.YahooMailNeo@web122103.mail.ne1.yahoo.com> Message-ID: <20141005063835.GH7164@waldemar-brodkorb.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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