docs/overview.txt
changeset 620 af527ad27444
parent 544 6b15ef33e8f2
child 628 87802cb25a0f
     1.1 --- a/docs/overview.txt	Sun Jun 01 21:12:00 2008 +0000
     1.2 +++ b/docs/overview.txt	Wed Jun 25 14:06:49 2008 +0000
     1.3 @@ -135,14 +135,28 @@
     1.4  code is available as patches in the contrib/ sub-directory. These patches are
     1.5  to be applied to the source of crosstool-NG, prior to installing.
     1.6  
     1.7 +An easy way to use contributed code is to pass the --with-contrib= option to
     1.8 +./configure. The possible values depend upon which contributions are packaged
     1.9 +with your version, but you can get with it with passing one of those two
    1.10 +special values:
    1.11 +  --with-contrib=list
    1.12 +    will list all available contributions
    1.13 +
    1.14 +  --with-contrib=all
    1.15 +    will select all avalaible contributions
    1.16 +
    1.17 +There is no guarantee that a particuliar contribution applies to the current
    1.18 +version of crosstool-ng, or that it will work at all. Use contributions at
    1.19 +your own risk.
    1.20 +
    1.21  ____________________________
    1.22                             /
    1.23  Configuring crosstool-NG  /
    1.24  _________________________/
    1.25  
    1.26 -crosstool-NG is configured by a configurator presenting a menu-stuctured set of
    1.27 -options. These options let you specify the way you want your toolchain built,
    1.28 -where you want it installed, what architecture and specific processor it
    1.29 +crosstool-NG is configured with a configurator presenting a menu-stuctured set
    1.30 +of options. These options let you specify the way you want your toolchain
    1.31 +built, where you want it installed, what architecture and specific processor it
    1.32  will support, the version of the components you want to use, etc... The
    1.33  value for those options are then stored in a configuration file.
    1.34  
    1.35 @@ -230,13 +244,16 @@
    1.36  but is quite easy. The options to build a toolchain are saved in the build log
    1.37  file that is saved within the toolchain. crosstool-NG can extract those options
    1.38  to recreate a new configuration:
    1.39 -  ct-ng extractconfig </path/to/your/build.log
    1.40 +  ct-ng extractconfig </path/to/your/build.log >.config
    1.41  
    1.42  will extract those options, prompt you for the new ones, which you can later
    1.43  edit with menuconfig.
    1.44  
    1.45  Of course, if your build log was compressed, you'd have to use something like:
    1.46 -  bzcat /path/to/your/build.log.bz2 |ct-ng extractconfig
    1.47 +  bzcat /path/to/your/build.log.bz2 |ct-ng extractconfig >.config
    1.48 +
    1.49 +Then, once the configuration has been extracted, run:
    1.50 +  ct-ng oldconfig
    1.51  
    1.52  ________________________
    1.53                         /
    1.54 @@ -271,7 +288,7 @@
    1.55  Alternatively, you can call make with the name of a step to just do that step:
    1.56    ct-ng libc_headers
    1.57  is equivalent to:
    1.58 -  ct-ng RESTART=libs_headers STOP=libc_headers
    1.59 +  ct-ng RESTART=libc_headers STOP=libc_headers
    1.60  
    1.61  The shortcuts +step_name and step_name+ allow to respectively stop or restart
    1.62  at that step. Thus:
    1.63 @@ -325,14 +342,14 @@
    1.64  and so on...
    1.65  
    1.66  It is strongly advised not to use the toolchain sys-root directory as an
    1.67 -install directory for your programms/packages. If you do so, you will not be
    1.68 +install directory for your programs/packages. If you do so, you will not be
    1.69  able to use your toolchain for another project. It is even strongly advised
    1.70  that your toolchain is chmod-ed to read-only once successfully build, so that
    1.71 -you don't go polluting your toolchain with your programms/packages' files.
    1.72 +you don't go polluting your toolchain with your programs/packages' files.
    1.73  
    1.74  Thus, when you build a program/package, install it in a separate directory,
    1.75  eg. /your/root. This directory is the /image/ of what would be in the root file
    1.76 -system of your target, and will contain all that your programms/packages have
    1.77 +system of your target, and will contain all that your programs/packages have
    1.78  installed.
    1.79  
    1.80  When your root directory is ready, it is still missing some important bits: the
    1.81 @@ -562,7 +579,7 @@
    1.82       - default to:
    1.83         see above.
    1.84       
    1.85 -Adding a new version of a conponent |
    1.86 +Adding a new version of a component |
    1.87  ------------------------------------+
    1.88  
    1.89  When a new component, such as the Linux kernel, gcc or any other is released,