bug-hurd
[Top][All Lists]
Advanced

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

Re: [SCM] GNU Mach branch, master, updated. 471e5b080f7790c2cf95e3069d9f


From: Thomas Schwinge
Subject: Re: [SCM] GNU Mach branch, master, updated. 471e5b080f7790c2cf95e3069d9fed1173c9ec17
Date: Fri, 27 Sep 2013 16:26:33 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu)

Hi!

On Wed, 25 Sep 2013 23:29:22 +0000, Samuel Thibault 
<samuel.thibault@ens-lyon.org> wrote:
> commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17
> Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
> Date:   Thu Sep 26 01:28:45 2013 +0200
> 
>     Update README
>     
>     * README: Update default drivers notice.  Mention cross-compilation flags
>     for 64bit systems.

I suggest to simplify that as follows, OK?

diff --git README README
index 95a58a5..38d2cca 100644
--- README
+++ README
@@ -26,20 +26,12 @@ debugging the kernel, of course.  We don't turn it on be 
default
 because it adds considerably to the unpageable memory footprint of the
 kernel.
 
-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.
+GNU Mach can be cross-built.  No specific options need to be given when
+building on a 32-bit x86 ELF userland such as GNU/Linux.  Manually switch the
+compiler to 32-bit mode when using a 64-bit x86 (x86_64) ELF toolchain:
 
-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:
+    $ [...]/configure --host=i686-gnu CC='gcc -m32' LD='ld -melf_i386'
 
-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


Grüße,
 Thomas

Attachment: pgpgKWBq87s54.pgp
Description: PGP signature


reply via email to

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