[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian crosscompiler packages



Hi,
I have now released an updated toolchain-source package (version 3.0.3-1)
that contain the source code for binutils 2.11.92.0.12.3 and gcc 3.0.3. It
also contains two scripts, tpkg-make and tpkg-update, that can be used to 
automatically create and update crosscompiler packages for any supported 
targets. The process is documented in /usr/share/doc/toolchain-source/README, 
but should probably be placed where people might look for it. Where is that?

Creating a crosscompiler package might now be as simple as:

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

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

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

Note that the binutils package has to be installed before the gcc package
can be compiled. To upgrade an excisting cross compiler package, when a new
toolchain-source is released, should be as simple as:

  apt-get install toolchain-source
  cd binutils-<target>-<ver>
  tpkg-update
  debuild
  debi

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

Please read the README file for more detailed information and note that
those script are not tested much yet, but seems to work for the avr target.

-- 
Hakan Ardo <hakan@debian.org>, http://master.debian.org/~hakan/



Reply to: