summaryrefslogtreecommitdiff
path: root/hurd/building.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/building.mdwn')
-rw-r--r--hurd/building.mdwn13
1 files changed, 7 insertions, 6 deletions
diff --git a/hurd/building.mdwn b/hurd/building.mdwn
index c0d5648c..623e7c0a 100644
--- a/hurd/building.mdwn
+++ b/hurd/building.mdwn
@@ -28,7 +28,7 @@ git](http://savannah.gnu.org/git/?group=hurd):
$ apt-get source hurd
-Please see the Debian [[running/debian/FAQ]] before using `apt-get source`.
+Please see the Debian [[FAQ]] before using `apt-get source`.
The unpacked source tree is around 20 MiB, and the build tree (configured with
`--disable-profile`) is around 100 MiB.
@@ -54,12 +54,12 @@ package:
Change into the directory with the downloaded / unpacked Hurd sources, e.g.
- $ cd hurd-[TODO]
+ $ cd hurd-VERSION
If you want to work on the sources before building them, it's advisable to
first apply the patches the Debian hurd package additionally contains:
- $ debian/rules apply-patches
+ $ debian/rules patch
Then edit and change whatever files you want and finally start the build
process with
@@ -75,13 +75,14 @@ The Hurd has to be built in a separate directory:
$ mkdir hurd-build
$ cd hurd-build
- $ [...]/hurd-[TODO]/configure --disable-profile
+ $ [...]/hurd-VERSION/configure --disable-profile
$ make
$ make install
Notice that `make install` will install the Hurd in `/`, not in `/usr/local/`
-or `/local/`, so your current Hurd servers will be replaced. [TODO: how to
-install somewhere else.]
+or `/local/`, so your current Hurd servers will be replaced.
+To install to a different location, specify `--prefix=PREFIX` as `configure`
+parameter, e.g. `--prefix=/usr` (as done when having a real `/usr`).
By default profiling versions of all the libraries and code are generated but
this is useless in most of the cases, so we disable them by specifying