diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-05 09:19:56 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-05 09:19:56 +0100 |
commit | daca7d6672db1c4c03c00b916888eeb176422ede (patch) | |
tree | afc799d974aa50ff44eecfc7030390abce1f0597 /docs | |
parent | 6a151cfe7443cddfd7bf83d713ca712ff8b5d27a (diff) | |
download | crosstool-ng-daca7d6672db1c4c03c00b916888eeb176422ede.tar.gz crosstool-ng-daca7d6672db1c4c03c00b916888eeb176422ede.tar.bz2 crosstool-ng-daca7d6672db1c4c03c00b916888eeb176422ede.zip |
config: prepare for build-system backend
When acting as a backend for a build-system, we should not build
any application that runs on the target, that is:
- no native gdb
- no companion libraries
- no binutils libraries
- no debug tools (save for gdbserver)
- ...
Here, we simply prepare the (hidden) config option that will detect
that we are acting as a back-end.
Update doc accordingly.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/overview.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/overview.txt b/docs/overview.txt index a0e12226..1a487283 100644 --- a/docs/overview.txt +++ b/docs/overview.txt @@ -21,6 +21,7 @@ Installing crosstool-NG Configuring crosstool-NG Interesting config options Re-building an existing toolchain + Using as a backend for a build-system Running crosstool-NG Stopping and restarting a build Testing all toolchains at once @@ -350,6 +351,21 @@ toolchain with this configuration, just redirect the output to the Then, you can review and change the configuration by running: ct-ng menuconfig +Using as a backend for a build-system | +--------------------------------------+ + +Crosstool-NG can be used as a backend for an automated build-system. In this +case, some components that are expected to run on the target (eg. the native +gdb, ltrace, DUMA...) are not available in the menuconfig, and they are not +build either, as it is considered the responsibility of the build-system to +build its own versions of those tools. + +If you want to use crosstool-NG as a backend to generate your toolchains for +your build-system, you have to set and export this environment variable: + CT_IS_A_BACKEND=y + +(case is not sensitive, you can say Y). + ________________________ / |