blob: dd8edd0d6e5f7cd75d395b3a158793830b6fbe3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
[[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]]."]]
[[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
<http://nic-nac-project.de/~schwinge/tmp/cross-gnu> and
<http://nic-nac-project.de/~schwinge/tmp/cross-gnu-env>.
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.
Feel free to ask questions or report problems on this page's [[discussion]]
sub-page.
---
* <http://lists.gnu.org/archive/html/bug-hurd/2004-09/msg00030.html>
|