cookutils rev 375
Small update to cross doc/howto
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 11 14:48:05 2012 +0200 (2012-05-11) |
parents | 9af42268847d |
children | 2b84441caa17 |
files | doc/cross.txt |
line diff
1.1 --- a/doc/cross.txt Fri May 11 14:43:34 2012 +0200 1.2 +++ b/doc/cross.txt Fri May 11 14:48:05 2012 +0200 1.3 @@ -13,13 +13,14 @@ 1.4 OPTIONS 1.5 --log clean: Will also clean log files 1.6 --install check-env: Install needed packages 1.7 + --config= Use specified configuration file 1.8 1.9 HOWTO: 1.10 When building a cross toolchain it's better to understand what is a 1.11 linker or or C compiler such as GCC. The configure option --target is 1.12 used by 'cross' to build cross-tools. When the toolchain is build on 1.13 your machine you can then build packages with cook and the wok. Cross 1.14 - use by default the same source tarball's than cook by path can by 1.15 + use by default the same source tarball's than cook but path can by 1.16 changed via the config file. Configuration is: cross.conf. Here is a 1.17 cmdline howto: 1.18 1.19 @@ -40,10 +41,7 @@ 1.20 ------------------------------------------------------------- 1.21 # cook setup 1.22 # cook arm-setup 1.23 - # mkdir -p /home/slitaz/cross 1.24 - # cd /home/slitaz/cross 1.25 - # cp /etc/slitaz/cross.conf . 1.26 - (vi/nano config) 1.27 + (vi/nano /etc/slitaz/cross.conf) 1.28 # cross check-env --install 1.29 # cross compile 1.30