summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-09-27 16:20:46 +0200
committerThomas Schwinge <thomas@codesourcery.com>2013-09-27 21:24:24 +0200
commit0069c83fadda450442e4681d3b821c60ad491337 (patch)
tree573ad0531e7945c3e707faf9fc1aa763564f63f6 /README
parent7958fdaae2f342a6ffe4c54ebc8c1b76bf80b490 (diff)
* README: Simplify build instructions.
Follow-up to commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17.
Diffstat (limited to 'README')
-rw-r--r--README16
1 files changed, 4 insertions, 12 deletions
diff --git a/README b/README
index 95a58a56..38d2ccab 100644
--- a/README
+++ b/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