[[meta copyright="Copyright © 2007 Free Software Foundation, Inc."]] [[meta license="Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU_Free_Documentation_License|/fdl]]."]] ## Cross Compilation Guide This is a HOWTO to build a cross-compiler on x86 GNU/Linux so you can build GNU Mach, GNU Hurd. ## cross-gnu [[Thomas_Schwinge|tschwinge]] has written a shell script for building a complete cross-build environment for GNU/Hurd systems. For now, find the shell scripts at and . Read through it. Understand it. Then use it. /!\ Be made aware that -- while it is of course possible to build a working cross-compiler -- this is not trivial to do. You'll have to patch several of the source packages. See the corresponding Debian unstable source packages about which Hurd-specific patches exist and check which of them are not yet in the upstream source packages. Not all of the patches from the Debian packages are needed for getting a functional tool chain, though. Applying patches is definitely needed for the glibc, Hurd and GCC source packages, as there are a bunch of outstanding patches that are needed for getting a functional build. ## References *