[Buildroot] Standalone toolchain

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Sep 24 13:46:35 UTC 2008


On Wed, Sep 24, 2008 at 03:14:47PM +0200, Hinko Kocevar wrote:
>Hi,
>
>Is it possible to create a toolchain and then transfer it to another machine or just another folder, and have it work?

This is supposed to work, yes. The keyword is sysroot support.
Either configure your BR2_STAGING_DIR to e.g. /opt/my-target-tripplet
or just move the staging dir wherever you want and use the proper
--sysroot and -isysroot.
>
>I've experienced the case where I only transferred staging_dir and put it somewhere and when I tried compiling some software compiler was lacking some header files. Creating absolute path link to newly created toolchain dir to point to staging_dir where it was taken from solved the problem..



More information about the buildroot mailing list