to build a cross-compile environment on Debian GNU/Linux the best mode is using packages toolchain-source toolchain-source-newlib look at the README files of these packages in short, you have to use commands: tpkg-make h8300-hms cd binutils* dpkg-buildpackage -us -uc -rfakeroot cd .. dpkg -i binutils*.deb cd gcc* emacs debian/rules (uncomment --with-newlib option) dpkg-buildpackage -us -uc -rfakeroot cd .. dpkg -i gcc*.deb Riccardo Vestrini riccardov@sssup.it