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/usr/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 - but then +--sysroot+ must
16 be passed every time the compiler is called to tell where the
17 libraries and header files are.
19 It is also possible to generate the Buildroot toolchain in a directory
20 other than +output/host+ by using the +Build options -> Host dir+
21 option. This could be useful if the toolchain must be shared with