1 ." crosstool-NG man page
2 ." Copyright 2007 Yann E. MORIN
3 ." Licensed under the Creative Commons BY-SA, v2.5
8 .TH crosstool-NG 1 "@@CT_DATE@@" "version @@CT_VERSION@@" "User Commands"
12 ct-ng, crosstool-NG \- Build cross-toolchains
20 Building a cross-toolchain can be a real pain.
23 makes it easy to build cross-toolchains, and allows you to take all the juice
24 out of your target by configuring the differents components of the toolchain
25 accordingly to the targeted processor.
29 Here are the most commonly used actions. For other actions, please see
30 .I @@CT_DOCDIR@@/overview.txt
33 Prints a little help text.
39 using a configurator menu very similar to that of the Linux kernel.
43 Apply options found in an existing
45 file, and ask for newer options if there are any.
51 configuration, and associated components' config files, into a sample. Samples
52 are saved in their own sub-directory, named after the target's triplet, in the
54 sub-directory of the current directory.
55 If that was not clear:
56 .I `pwd`/samples/${CT_TARGET}/
58 Samples can be later recalled by calling
60 with the target triplet they represent.
64 Builds the configured toolchain.
68 Lists all build steps available (see
74 Remove files generated by
76 for itself (these are mostly the configurators' binaries).
82 , but also removes the toolchain build directory, the downloaded files and the
84 configuration file. The generated toolchain is left untouched, as well as
85 samples which are not removed.
91 regression test suite. All samples are build, and the regression test suite is
92 run against every one of them.
100 scripts. These scripts are used by
102 to canonicalise the machines' name (host, build and target machines).
105 Builds a tarball of the generated toolchain, also saving the scripts from
107 that are needed to rebuild the target, and also saving the tarballs of the
108 componnents that were used.
113 Respectively stops and restarts the build just before this step. To restart a
114 step, a previous build should have run at least to that step, or further.
116 The list of steps is vailable with the action
122 frontend is in fact a
124 script. See the man page for
126 to have the meaning of the exit values.
129 As of today (@@CT_DATE@@), building tarballs is broken. It is difficult to
130 foresee how every parts of
132 are going to be installed. Each parts is needed to build a tarball, as it
133 contains all that is needed to rebuild the toolchain from scratch: toolchain
136 configuration, but also all
141 .B Don't run as root!
142 Great care has been taken to avoid mistakes, but bug-free programs don't
143 exist. During normal operation,
145 removes entire directories. If you run as root, and there is a bug or you
148 entire important directories could be removed (eg.
152 will refuse to install in some well known critical directories.
155 .MTO "yann.morin.1998@anciens.enib.fr" "Yann E. MORIN" ""
156 .URL "http://ymorin.is-a-geek.org" "" ""
161 scripts to be more easily maintainable, added the Kconfig configurator, some
164 Please consult the file
165 .I @@CT_DOCDIR@@/CREDITS
166 for a list of contributors.
169 Please have a look at the
170 .URL "http://www.kegel.com/crosstool" "original crosstool" " by Daniel KEGEL"