summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-03-15 14:42:00 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-03-15 14:42:00 +0000
commitb7629680ad58416022fcb8d5e396cc9355c8264e (patch)
tree33dc586022bb3fbf08b97fde60695ac797f7d08c
parent177301f7048918bc7d5592d9db06c3526bb4a086 (diff)
none
-rw-r--r--Hurd/BuildingHurd.mdwn14
1 files changed, 9 insertions, 5 deletions
diff --git a/Hurd/BuildingHurd.mdwn b/Hurd/BuildingHurd.mdwn
index 80c12655..5e9226c9 100644
--- a/Hurd/BuildingHurd.mdwn
+++ b/Hurd/BuildingHurd.mdwn
@@ -1,6 +1,8 @@
-Of course, your first task is to get the Hurd's source code.
+# <a name="Building_the_Hurd_from_Source"> Building the Hurd from Source </a>
-You can chose between getting the [sources from the developer's RCS](http://www.gnu.org/software/hurd/download.html#cvs):
+## <a name="Getting_the_Source_Code"> Getting the Source Code </a>
+
+You can chose between getting the [sources from the developers's RCS](http://www.gnu.org/software/hurd/download.html#cvs):
$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/hurd co hurd
$ cd hurd
@@ -10,17 +12,19 @@ You can chose between getting the [sources from the developer's RCS](http://www.
$ apt-get source hurd # Unpacks in hurd-YYYYMMDD
$ cd hurd-*
+Please see [[Distrib/DebianFAQ]] before using _apt-get source_.
+
The unpacked source tree is around 20MiB, and the build tree (configured with `--disable-profile`) is around 100MiB.
+## <a name="Building_the_Hurd"> Building the Hurd </a>
+
TODO: cross compiling.
Building the Hurd requires `build-essential`, `libc-dev` and `mig` packages:
- # apt-get install build-essential make libc-dev mig
+ # apt-get install build-essential fakeroot
# apt-get build-dep hurd
-`libc-dev` will install `libc0.3-dev`, which depends on `gnumach-dev` and `hurd-dev`.
-
The Hurd has to be built in a separate directory:
$ mkdir build