Article 5AWEZ LFS Newbie | 5.3. GCC-10.2.0 - Pass 1 Erro's

LFS Newbie | 5.3. GCC-10.2.0 - Pass 1 Erro's

by
almogr
from LinuxQuestions.org on (#5AWEZ)
Hello,

I am new here guys, be gentle please ;-)

So I am using Gentoo Linux, trying to install LFS on my Gentoo physical machine, working on Lenovo X230, core i5 16GB RAM.

Under Chapter
5.3. GCC-10.2.0 - Pass 1 -> 5.3.1. Installation of Cross GCC, after compile and install

Quote:
This build of GCC has installed a couple of internal system headers. Normally one of them, limits.h, would in turn include the corresponding system limits.h header, in this case, $LFS/usr/include/limits.h. However, at the time of this build of GCC $LFS/usr/include/limits.h does not exist, so the internal header that has just been installed is a partial, self-contained file and does not include the extended features of the system header. This is adequate for building glibc, but the full internal header will be needed later. Create a full version of the internal header using a command that is identical to what the GCC build system does in normal circumstances:
cd ..
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h
Where I need to handle the "limits.h" file, I am trying to run
Code:cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.hBut I get the output below, to make clear I just Copy-Paste the command above to my terminal (working with FireFox browser in my gentoo- KDE Plasma 5 desktop):
Code:bash: x86_64-lfs-linux-gnu-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h: No such file or directory

$LFS_TGT Variable = x86_64-lfs-linux-gnu

Kindly advise, I am not sure what went wrong and what am I missing here.
Let me know if you need any extra info.

Thank you guys in advance.latest?d=yIl2AUoC8zA latest?i=9Muk-EXDkuY:C0SAJX5BI3E:F7zBnMy latest?i=9Muk-EXDkuY:C0SAJX5BI3E:V_sGLiP latest?d=qj6IDK7rITs latest?i=9Muk-EXDkuY:C0SAJX5BI3E:gIN9vFw9Muk-EXDkuY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments