cookutils annotate doc/cross.txt @ rev 949
cook: specify we use busybox fold (don't fail when remove coreutils-file-format or coreutils-multicall containing fold); cooker: remove package from packages.info DB too.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 20 05:07:33 2017 +0300 (2017-07-20) |
parents | 4c71388c43e6 |
children | e58a083722aa |
rev | line source |
---|---|
pankso@361 | 1 |
pankso@361 | 2 SYNOPSIS |
pankso@361 | 3 cross [command|package] package |
pankso@361 | 4 |
pankso@361 | 5 DESCRIPTION |
pankso@361 | 6 Cross is a tool to build a cross toolchain on SliTaz GNU/Linux. The |
paul@382 | 7 ARM platform is actually supported and a x86_64 toolchain is on the |
pankso@361 | 8 stove |
pankso@361 | 9 |
pankso@361 | 10 COMMANDS |
pankso@361 | 11 Run: cross usage |
pankso@361 | 12 |
pankso@361 | 13 OPTIONS |
pankso@361 | 14 --log clean: Will also clean log files |
pankso@375 | 15 --config= Use specified configuration file |
pankso@361 | 16 |
pankso@361 | 17 HOWTO: |
pankso@361 | 18 When building a cross toolchain it's better to understand what is a |
paul@382 | 19 linker or C compiler such as GCC. The configure option --target is |
paul@382 | 20 used by 'cross' to build cross-tools. When the toolchain is built on |
pankso@364 | 21 your machine you can then build packages with cook and the wok. Cross |
paul@382 | 22 uses by default the same source tarballs as cook but the path can be |
pankso@364 | 23 changed via the config file. Configuration is: cross.conf. Here is a |
pankso@364 | 24 cmdline howto: |
pankso@361 | 25 |
pankso@364 | 26 Create a chroot (use last tazdev) |
pankso@364 | 27 --------------------------------- |
pankso@361 | 28 # tazdev gen-chroot --arch=arm |
pankso@630 | 29 # tazdev chroot --arch=arm |
pankso@361 | 30 |
pankso@364 | 31 Clone cookutils to get last cook and cross |
pankso@364 | 32 ------------------------------------------ |
pankso@361 | 33 # tazpkg -gi mercurial |
pankso@361 | 34 # tazpkg -gi make |
pankso@361 | 35 # cd && hg clone http://hg.slitaz.org/cookutils |
pankso@361 | 36 # cd cookutils |
pankso@361 | 37 # make install-cross |
pankso@361 | 38 |
pankso@421 | 39 Setup the build environment, get source and compile a cross toolchain |
pankso@421 | 40 --------------------------------------------------------------------- |
pankso@649 | 41 # cross setup |
pankso@421 | 42 # cross download |
pankso@361 | 43 # cross compile |
pankso@361 | 44 |
pankso@364 | 45 Test the cross toolchain |
pankso@364 | 46 ------------------------ |
pankso@361 | 47 # cross testsuite |
pankso@361 | 48 |
paul@382 | 49 AUTHORS |
pankso@361 | 50 Written by Christophe Lincoln |