diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml index b0c3441e5..599d4befb 100644 --- a/chapter04/settingenviron.xml +++ b/chapter04/settingenviron.xml @@ -42,7 +42,7 @@ EOF umask 022 LFS=/mnt/lfs LC_ALL=POSIX -LFS_TGT=$(uname -m)-lfs-linux-gnu +LFS_TGT=x86_64-lfs-linux-gnu PATH=/usr/bin if [ ! -L /bin ]; then PATH=/bin:$PATH; fi PATH=$LFS/tools/bin:$PATH @@ -103,12 +103,15 @@ EOF - LFS_TGT=(uname -m)-lfs-linux-gnu + LFS_TGT=x86_64-lfs-linux-gnu The LFS_TGT variable sets a non-default, but compatible machine description for use when building our cross compiler and linker and when cross compiling our temporary toolchain. More information is contained in - . + . + If you are not building for 64-bit x86, replace + x86_64 with some value suitable for your target + machine, for example i686 for 32-bit x86.