cookutils view doc/cross.txt @ rev 363

cross: typo
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 09 22:41:21 2012 +0200 (2012-05-09)
parents
children 38fc81ba44de
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 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 --install check-env: Install needed packages
17 HOWTO:
18 When building a cross toolchain it's better to understand what is a
19 linker or or C compiler such as GCC. The configure option --target is
20 used by 'cross' to build cross-tools. When the toolchain is build on
21 your machine you can then build packages with cook and the wok. Here
22 is commands used to create a chroot (use last tazdev):
24 # tazdev gen-chroot --arch=arm
25 # tazdev chroot
27 --> Clone cookutils to get last cook and cross
28 # tazpkg -gi mercurial
29 # tazpkg -gi make
30 # cd && hg clone http://hg.slitaz.org/cookutils
31 # cd cookutils
32 # make install-cross
34 --> Now setup the build environment and compile a cross toolchain:
35 # cook setup
36 # cook arm-setup
37 # mkdir -p /home/slitaz/cross
38 # cd /home/slitaz/cross
39 # cp /etc/slitaz/cross.conf .
40 (vi/nano config)
41 # cross check-env --install
42 # cross compile
44 --> Test the cross tools
45 # cross testsuite
47 AUTHOR
48 Written by Christophe Lincoln