2 // vim: set syntax=asciidoc:
4 ==== Using the generated toolchain outside Buildroot
6 You may want to compile, for your target, your own programs or other
7 software that are not packaged in Buildroot. In order to do this you
8 can use the toolchain that was generated by Buildroot.
10 The toolchain generated by Buildroot is located by default in
11 +output/host/+. The simplest way to use it is to add
12 +output/host/bin/+ to your PATH environment variable and then to
13 use +ARCH-linux-gcc+, +ARCH-linux-objdump+, +ARCH-linux-ld+, etc.
15 It is possible to relocate the toolchain, this allows to distribute
16 the toolchain to other developers to build applications for your
17 target. To achieve this:
19 * run +make sdk+, which prepares the toolchain to be relocatable;
20 * tarball the contents of the +output/host+ directory;
21 * distribute the resulting tarball.
23 Once the toolchain is installed to the new location, the user must run
24 the +relocate-sdk.sh+ script to make sure all paths are updated with