summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-02-07 16:42:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-02-07 16:42:48 +0100
commit0e48e14e50ab765c957f593e42567e627bb53f8d (patch)
tree75146905bf9aecf449b3ff87bd5dbe858e840287
parent22cb052a90c61cd7d2dd354d0b5d015a34b6e1f7 (diff)
Advise to simply use a cross-toolchain
* README: Advise to use i686-linux-gnu-* tools.
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 6c0ea5b3..108452a2 100644
--- a/README
+++ b/README
@@ -38,6 +38,15 @@ compiler to 32-bit mode when using a 64-bit x86 (x86_64) ELF toolchain:
$ [...]/configure --host=i686-gnu CC='gcc -m32' LD='ld -melf_i386'
+or point to a 32-bit ELF toolchain:
+
+ $ [...]/configure --host=i686-gnu CC=i686-linux-gnu-gcc LD=i686-linux-gnu-ld
+
+Also, GNU MIG needs to be a 32bit version to properly compile the interfaces,
+you can specify for instance
+
+ $ [...]/configure --host=i686-gnu CC=i686-linux-gnu-gcc LD=i686-linux-gnu-ld MIG=i686-linux-gnu-mig
+
Please read the FAQ at <http://www.gnu.org/software/hurd/faq.html>.
Bug reports should be sent to <bug-hurd@gnu.org> or filed on