On Sun, Nov 26, 2000 at 01:14:59AM +0100, Marcus Brinkmann wrote: > On Sat, Nov 25, 2000 at 05:32:06PM -0600, David Leimbach wrote: > > Where is the debian source? > > On any Debian server. > ftp.debian.org/debian/dists/unstable/main/source/base/gnumach_* > > Use dpkg-source -x *dsc to extract it. > > > Can it be cross compiled from linux? (I assume it > > can) > > Of course. > > Marcus
Expanding on that a bit. You need to get the gcc-i386-gnu and mig-i386-gnu packages, as well as set up a few environment viraibles. I put them into a file called cross-env.sh. Once you do `. cross-env.sh' any package you compile should think it's being compiled under Hurd. My cross-env.sh is attached. BTW, make sure that your hurd partition is mounted on /gnu, otherwise you'll have to edit a few config files from gcc-i386-gnu. Igor
PATH=/usr/i386-gnu/bin:$PATH export DEB_BUILD_ARCH=hurd-i386 export DEB_BUILD_GNU_CPU=i386 export DEB_BUILD_GNU_SYSTEM=gnu export DEB_BUILD_GNU_TYPE=i386-gnu export DEB_HOST_ARCH=hurd-i386 export DEB_HOST_GNU_CPU=i386 export DEB_HOST_GNU_SYSTEM=gnu export DEB_HOST_GNU_TYPE=i386-gnu

