From 471e5b080f7790c2cf95e3069d9fed1173c9ec17 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 26 Sep 2013 01:28:45 +0200 Subject: Update README * README: Update default drivers notice. Mention cross-compilation flags for 64bit systems. --- README | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README b/README index dcedb7e..4e5e9dc 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. -- cgit v1.2.3