cookutils view doc/cross.txt @ rev 880
cook: cook_copy_folders() and cook_copy_files(): allow spaces in the path, preserve existing hardlinks
Package mesa-dri-ati-12.0.6: before 10.0MB, after 4.3MB (3 hardlinked files + other 2 hardlinked files)
Package mesa-dri-ati-12.0.6: before 10.0MB, after 4.3MB (3 hardlinked files + other 2 hardlinked files)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 18 15:02:59 2017 +0200 (2017-02-18) |
parents | 4c71388c43e6 |
children | e58a083722aa |
line source
2 SYNOPSIS
3 cross [command|package] package
5 DESCRIPTION
6 Cross is a tool to build a cross toolchain on SliTaz GNU/Linux. The
7 ARM platform is actually supported and a x86_64 toolchain is on the
8 stove
10 COMMANDS
11 Run: cross usage
13 OPTIONS
14 --log clean: Will also clean log files
15 --config= Use specified configuration file
17 HOWTO:
18 When building a cross toolchain it's better to understand what is a
19 linker or C compiler such as GCC. The configure option --target is
20 used by 'cross' to build cross-tools. When the toolchain is built on
21 your machine you can then build packages with cook and the wok. Cross
22 uses by default the same source tarballs as cook but the path can be
23 changed via the config file. Configuration is: cross.conf. Here is a
24 cmdline howto:
26 Create a chroot (use last tazdev)
27 ---------------------------------
28 # tazdev gen-chroot --arch=arm
29 # tazdev chroot --arch=arm
31 Clone cookutils to get last cook and cross
32 ------------------------------------------
33 # tazpkg -gi mercurial
34 # tazpkg -gi make
35 # cd && hg clone http://hg.slitaz.org/cookutils
36 # cd cookutils
37 # make install-cross
39 Setup the build environment, get source and compile a cross toolchain
40 ---------------------------------------------------------------------
41 # cross setup
42 # cross download
43 # cross compile
45 Test the cross toolchain
46 ------------------------
47 # cross testsuite
49 AUTHORS
50 Written by Christophe Lincoln