cookutils view doc/cross.txt @ rev 687
Add Chinese Simplified translations (thanks jame987165702).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 26 15:51:13 2014 +0300 (2014-06-26) |
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