diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-09 17:35:45 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-09 17:35:45 (GMT) |
commit | f5e75095d0a40294a0cbff62b45759ecd8a1e485 (patch) | |
tree | 53df980699d902c290aa1d3113b3c20d833fae96 /docs/overview.txt | |
parent | cf186a25e48378eacd6fc8aa429eed7508e0185a (diff) |
Update man page to explictly point to overview.txt.
In overview.txt, document usage of the populate script.
Diffstat (limited to 'docs/overview.txt')
-rw-r--r-- | docs/overview.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/overview.txt b/docs/overview.txt index a35d995..f49988d 100644 --- a/docs/overview.txt +++ b/docs/overview.txt @@ -206,6 +206,35 @@ Testing all toolchains at once | You can test-build all samples; simply call: ct-ng regtest +_______________________ + / +Using the toolchain / +____________________/ + +Using the toolchain is as simple as adding the toolchain's bin directory in +your PATH, such as: + export PATH="${PATH}:/your/toolchain/path/bin" + +and then using the target triplet to tell the build systems to use your +toolchain: + ./configure --target=your-target-triplet + make CC=your-target-triplet-gcc + make CROSS_COMPILE=your-target-triplet- + and so on... + +When your root directory is ready, it is still missing some important bits: the +toolchain's libraries. To populate your root directory with those libs, just +run: + your-target-triplet-populate -s /your/root -d /your/root-populated + +This will copy /your/root into /your/root-populated, and put the needed and only +the needed libraries there. Thus you don't polute /your/root with any cruft that +would no longer be needed should you have to remove stuff. /your/root always +contains only those things you install in it. + +You can then use /your/root-populated to build up your file system image, a +tarball, or to NFS-mount it from your target, or whatever you need. + ___________________ / Toolchain types / |