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).