File: README.source

package info (click to toggle)
cross-gcc 14
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 224 kB
  • sloc: sh: 523; makefile: 136
file content (22 lines) | stat: -rw-r--r-- 1,207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This package contains the rules and scripts which make cross-toolchain
_source_ packages of the form cross-gcc-<ver>-<arch>.

Those packages build actual cross-toolchain binary packages. A set of
those (created with this cross-gcc-dev package) is already uploaded to
the archive. You can also build other toolchain combinations which are
not provided in the archive using this package.

To change the set of TARGET architectures built or the set of HOST
architectures they are built for, set the TARGET_LIST and HOST_LIST
variables respectively, and generate the source trees. For instance, to
make a package that will build armhf and armel gcc 4.9 cross-compilers
for amd64, i386 and arm64, install cross-gcc-dev and run:

 TARGET_LIST="armel armhf" HOST_LIST="amd64 i386 arm64" cross-gcc-gensource 4.9

This is the host-list that is normally built in Debian. This generates
a separate source package for each target. The packages are generated
in a cross-gcc-packages-$HOSTARCH directory in the current directory.
At this point each of these source packages is ready to be built
normally with sbuild (or dpkg-buildpackage on a system where the
target architecture is enabled as a multiarch architecture).