From 748769b223416d8643365164019d2565f4943b6c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 2 Feb 2024 11:09:27 +0100 Subject: Better properly name the cross-built mig --- microkernel/mach/mig/gnu_mig/building.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'microkernel/mach/mig') diff --git a/microkernel/mach/mig/gnu_mig/building.mdwn b/microkernel/mach/mig/gnu_mig/building.mdwn index 38788375..f335aa73 100644 --- a/microkernel/mach/mig/gnu_mig/building.mdwn +++ b/microkernel/mach/mig/gnu_mig/building.mdwn @@ -84,10 +84,10 @@ 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 --host option: +If you are building on a 64 bit machine, you need to add a --target option: $ GNU=~/gnu - $ TARGET_CPPFLAGS=-I"$GNU"/include ../configure --prefix="$GNU" --host=i686-linux-gnu + $ TARGET_CPPFLAGS=-I"$GNU"/include ../configure --prefix="$GNU" --target=i686-gnu TARGET_CC=i686-linux-gnu-gcc Build and install the Mach Interface Generator into _$GNU_ (i.e. _~/gnu/_ in our example): -- cgit v1.2.3