]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - docs/manual/using-buildroot-toolchain.txt
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / docs / manual / using-buildroot-toolchain.txt
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
3
4 ==== Using the generated toolchain outside Buildroot
5
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.
9
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.
14
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:
18
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.
22
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
25 the new location.
26