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

2013-09-27 Thread Thomas Schwinge
Hi!

On Wed, 25 Sep 2013 23:29:22 +, Samuel Thibault 
samuel.thiba...@ens-lyon.org wrote:
 commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17
 Author: Samuel Thibault samuel.thiba...@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


pgpTJng94D3e3.pgp
Description: PGP signature


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

2013-09-27 Thread Samuel Thibault
Thomas Schwinge, le Fri 27 Sep 2013 16:26:33 +0200, a écrit :
 I suggest to simplify that as follows, OK?
 
 +$ [...]/configure --host=i686-gnu CC='gcc -m32' LD='ld -melf_i386'

Ah, right, yes.

Samuel



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

2013-09-27 Thread Svante Signell
On Fri, 2013-09-27 at 16:26 +0200, Thomas Schwinge wrote:
 Hi!
 
 On Wed, 25 Sep 2013 23:29:22 +, Samuel Thibault 
 samuel.thiba...@ens-lyon.org wrote:
  commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17
  Author: Samuel Thibault samuel.thiba...@ens-lyon.org
  Date:   Thu Sep 26 01:28:45 2013 +0200

 @@ -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

I found a small spelling mistake in the above text:
We don't turn it on be default -  We don't turn it on by default




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

2013-09-27 Thread Samuel Thibault
Svante Signell, le Fri 27 Sep 2013 16:52:36 +0200, a écrit :
 I found a small spelling mistake in the above text:
 We don't turn it on be default -  We don't turn it on by default

Indeed, thanks.

Samuel