Hi all. New to the forum and primarily run Gentoo as my main distribution, but decided to try my hand at an LFS build. The machine is running Gentoo for the host system and I'm logged in as the lfs user. I have also cd'ed into the /mnt/lfs/sources/gcc-4.9.2 directory.
Machine specs (yes it's an old beater system...just using it as my "guinea pig" home server) -
32-bit system
Via C7 Processor
512MB RAM
Gentoo installed on /dev/sda1
LFS build on /dev/sdb1
On step 5.10 GCC 4.9.2 pass 2, there is a step that states to type -
Code:
lfs@Lean-Server /mnt/lfs/sources/gcc-4.9.2 $ cat gcc/limitx.h gcc/limits.h gcc/limity.h > \
'dirname $($LFS_TGT-gcc -print-libgcc-file-name)'/include-fixed/limits.h
On my system, executing this returns -
Code:
bash: dirname $($LFS_TGT-gcc -print-libgcc-file-name)/include-fixed/limits.h: No such file or directory
Echo'ing the following environment variables returns -
Code:
lfs@Lean-Server /mnt/lfs/sources/gcc-4.9.2 $ echo $LFS_TGT
i686-lfs-linux-gnu
lfs@Lean-Server /mnt/lfs/sources/gcc-4.9.2 $ echo $LFS
/mnt/lfs
What could be causing this issue?