What is Hutos?

Hutos (Hurd Toolchain Scripts) allows you to create a cross-build environment for GNU/Hurd. It can be thought of as a wrapper to the cross-gnu and crossgnu-env scripts written by Thomas Schwinge.

Hutos can archive sources, do online/offline builds of the toolchain, build specific versions of toolchains, and best of all, apply patches automatically.

For more in-depth information, click here.

Get Hutos

Hutos is currently hosted at Savannah.
The Project page can be accessed here.

If you would like to use the toolchain, you can simply download and use the built toolchain:

root-gcc-4.1-glibc-2.7-toolchain.tar.bz2 (40 MB).

root-gcc-4.2-glibc-2.7-toolchain.tar.bz2 (41 MB).

Hutos uses Git to track its sources. The latest and sometimes not so greatest code can be checked out as follows,

$ git clone git://git.savannah.nongnu.org/hutos.git

You can also browse the git repository using the gitweb interface.

Using Hutos

Currently Hutos can be used to build the following toolchain versions,

These versions are named respectively as gcc-4.2-glibc-2.7.sh and gcc-4.1-glibc-2.7.sh.

To build gcc-4.2 and glibc-2.7 branches simply create a symlink called setenv to gcc-4.2-glibc-2.7.sh. For example,
$ ln -s gcc-4.2-glibc-2.7.sh setenv

Next, run hurd-toolchain
$ chmod a+x ./hurd-toolchain.sh
$ ./hurd-toolchain.sh

Wait for a while, go to a long movie and if all goes well you will have the toolchain under root/

Offline builds

Hutos by default, removes all the downloaded sources when hurd-toolchain.sh is run the second time. This maintains the sanity of the downloaded sources. However this behaviour may not be desired. You can create archives of the downloaded sources to do offline builds later on. To do so,
./hurd-toolchain.sh archive
creates tarballs of the downloaded sources and puts them under tarballs/

Cleaning up

To cleanup,
./hurd-toolchain.sh clean
deletes all the sources and the built toolchain. It is recommended you do an archive of the sources to prevent re-downloading them again.

Contact

Shakthi `mbuf' Kannan, shakthi.kannan _at_ qvantel D0t com
Sudharshan `Sup3rkiddo' S, sudharsh _at_ gmail D0t com