man tpkg-make () - Create gcc and binutils cross-compiling debs

NAME

tpkg-make - Create gcc and binutils cross-compiling debs

SYNOPSIS

tpkg-make <target>

DESCRIPTION

tpkg-make will create two unpacked debian source packages that will compile into cross-compiling tools for the specified target. The packages will be called binutils-<target> and gcc-<target> and they will Build-Depend on the toolchain-source package, which contains the gcc and binutils source code.

The packages created are ready to compile but you might want to customize the debian/rules files in order to pass options to the configure script or make command. Also the binutils package has to be built and installed before the gcc package can be built. If nothing special is needed the following commands should create and installed a cross-compiler:

apt-get install toolchain-source tpkg-make <target>

cd binutils-<target>-<ver> debuild debi

cd ../gcc-<target>-<ver> debuild debi

SEE ALSO

tpkg-update(1)

AUTHOR

Hakan Ardo <hakan@debian.org>