commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnumach] 39/56: Update README


From: Samuel Thibault
Subject: [gnumach] 39/56: Update README
Date: Sat, 28 Sep 2013 12:43:18 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17
Author: Samuel Thibault <address@hidden>
Date:   Thu Sep 26 01:28:45 2013 +0200

    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
 address@hidden  Requests for assistance should be made on
 address@hidden

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/gnumach.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]