summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-26 01:28:45 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-26 01:28:45 +0200
commit471e5b080f7790c2cf95e3069d9fed1173c9ec17 (patch)
tree989836943ec8f34b787dc4ffeab11b06284e849a /README
parent31c3142b83c7c9ce1cab98c5edf1e5743dfa20db (diff)
Update README
* README: Update default drivers notice. Mention cross-compilation flags for 64bit systems.
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 14 insertions, 8 deletions
diff --git a/README b/README
index dcedb7ee..4e5e9dcf 100644
--- a/README
+++ b/README
@@ -17,14 +17,9 @@ The interface generator `MiG' is no longer part of this distribution.
Generic installation instructions may be found in the file INSTALL.
-By default, you get a kernel with no device drivers for disks and
-network devices. This is not what you want! Examine the file
-`README-Drivers' in the directory for the machine type your kernel is
-on (e.g., `i386/README-Drivers') for a list of configure --enable
-switches. Give the appropriate set for your hardware. It is
-generally safe to specify switches for hardware you don't have; in
-this way you can build kernels that work on different physical machine
-set ups.
+By default, you get a kernel with no device drivers for network devices,
+because the Hurd has its own drivers running in userland. Drivers for
+IDE and AHCI disks are however included by default.
If you want the in-kernel debugger compiled in, specify --enable-kdb
to configure. This is only useful if you actually anticipate
@@ -36,6 +31,17 @@ The specific switches you give to configure are always recorded in the
file `config.status'. So you can always tell what options you used to
build a particular kernel.
+The gnumach kernel can be cross-built. No specific options need
+to be given when building from a 32bit x86 ELF userland such as
+Linux. When running on a 64bit x86 ELF userland, one has to specify
+cross-compilation variables, typically:
+
+export CPP='gcc -m32 -E -x c -undef -ansi'
+export CC='gcc -m32'
+export LD='ld -melf_i386'
+
+and give the --host=i686-unknown-gnu option to ./configure
+
Bug reports relating to this distribution should be sent to
bug-hurd@gnu.org. Requests for assistance should be made on
help-hurd@gnu.org.