summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPasha (biblio) <pasha@bell01.com>2024-02-02 18:33:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-02 18:33:18 +0100
commit5e95073c97bb7ca5876840434d1a87a64593d4bf (patch)
tree11eed9d442c54ae73432ecca3c468ca84a93c45e
parent748769b223416d8643365164019d2565f4943b6c (diff)
improve mig building guide
-rw-r--r--microkernel/mach/mig/gnu_mig/building.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/microkernel/mach/mig/gnu_mig/building.mdwn b/microkernel/mach/mig/gnu_mig/building.mdwn
index f335aa73..eed12e03 100644
--- a/microkernel/mach/mig/gnu_mig/building.mdwn
+++ b/microkernel/mach/mig/gnu_mig/building.mdwn
@@ -84,7 +84,7 @@ configure:
$ GNU=~/gnu
$ TARGET_CPPFLAGS=-I"$GNU"/include ../configure --prefix="$GNU"
-If you are building on a 64 bit machine, you need to add a --target option:
+If you want to build 32-bit gnumach on a 64-bit machine, you need to add a --target option. mig(com) will be build as ELF64 binary, but it will generate 32-bit stub code for gnumach:
$ GNU=~/gnu
$ TARGET_CPPFLAGS=-I"$GNU"/include ../configure --prefix="$GNU" --target=i686-gnu TARGET_CC=i686-linux-gnu-gcc