summaryrefslogtreecommitdiff
path: root/Hurd
diff options
context:
space:
mode:
Diffstat (limited to 'Hurd')
-rw-r--r--Hurd/BuildingHurd.mdwn16
1 files changed, 13 insertions, 3 deletions
diff --git a/Hurd/BuildingHurd.mdwn b/Hurd/BuildingHurd.mdwn
index 740d7822..24eb5aaf 100644
--- a/Hurd/BuildingHurd.mdwn
+++ b/Hurd/BuildingHurd.mdwn
@@ -1,14 +1,16 @@
-Of course, your first task is to [get the source of the Hurd](http://www.gnu.org/software/hurd/download.html).
+Of course, your first task is to [get the source of the Hurd](http://www.gnu.org/software/hurd/download.html). `gcc-3.3` requires CVS snapshot from 2003-05-08 or later.
Building the Hurd requires `gcc`, `libc-dev` and `mig` packages:
- # apt-get install gcc-3.2 make libc-dev mig
+ # apt-get install gcc-3.3 make libc-dev mig
+
+The reason for installing `gcc-3.3` but not just `gcc` is that currently `gcc` package doesn't exist in Debian GNU/Hurd archives. When this changes, so will this page.
`libc-dev` will install `libc0.3-dev`, which depends on `gnumach-dev` and `hurd-dev`.
The Hurd can be compiled in its directory, like this:
- $ ./configure
+ $ CC=gcc-3.3 ./configure
$ make
but it's recommended to build it in separate directory because there are too many generated files and it becomes too crowdy in the source directories:
@@ -23,6 +25,14 @@ Notice that `make install` will install the Hurd in `/`, not in `/usr/local` or
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.
+As an alternative, you can build and install the Hurd in the Debian way (from CVS snapshot):
+
+ # apt-get build-dep hurd
+ # cd hurd
+ # dpkg-buildpackage
+ # cd ..
+ # dpkg -i hurd_*.deb hurd-dev_*.deb
+
If you just want to build a specific server or library, you can pass its name to `make`:
$ make ext2fs