File: README.cross

package info (click to toggle)
binutils-gold 2.44-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 412,828 kB
  • sloc: ansic: 1,459,850; asm: 761,693; cpp: 215,799; exp: 78,086; makefile: 71,903; sh: 24,043; yacc: 15,048; lisp: 13,579; perl: 13,404; lex: 1,717; ada: 1,681; pascal: 1,446; cs: 879; python: 636; java: 478; sed: 191; xml: 95; awk: 25
file content (38 lines) | stat: -rw-r--r-- 1,107 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Cross-binutils debian packages are directly built from the binutils
source package together with the native binutils packages.

To build a cross-binutils package which is not yet built:

 o Download and unpack the binutils source package:

    apt-get source binutils

 o Ensure you have the binutils build-dependencies installed:

    apt-get build-dep binutils

 o Add the binutils-<your-target> package to the control file:

    rm -f stamps/control
    debian/rules stamps/control TARGET=<your-target>

    This change is permanent and will survive 'make clean'.  If you
    need to restore the original debian/control file:

    rm -f stamps/control
    debian/rules stamps/control TARGET=

 o Then build the cross-binutils package:
   
    TARGET=<your-target> dpkg-buildpackage -b -uc -us 
    or 
    echo arm >debian/target; dpkg-buildpackage -b -uc -us

   (substitute your target name, e.g. "arm" or "m68k", instead of
    "<your-target>")

--
Hector Oron <zumbi@debian.org>
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Matthias Klose <doko@debian.org>
Nikita Youshchenko <yoush@cs.msu.su>