Binutils Pass 2 is built in a new folder with the Host target in /tools
by pklfs from LinuxQuestions.org on (#565KD)
Hi,
This is my first time with LFS. I have so far reached building gcc pass 2.
But I noticed that in pass 1, the binutils executables were built in /tools/x86_64-lfs-linux-gnu.
(using $LFS_TGT)
But in pass 2, binutils has installed in /tools/x86_64-pc-linux-gnu (which refers to the host, right?)
In my opinion the pc folder should never have been built, and I am afraid the gcc I built after binutils may also be affected
Please let me know if my suspicion is correct, and where could the problem be. I tried building binutils pass 2 again with the instructions in Section 5.9 of the book, and it created the pc folder again.


This is my first time with LFS. I have so far reached building gcc pass 2.
But I noticed that in pass 1, the binutils executables were built in /tools/x86_64-lfs-linux-gnu.
(using $LFS_TGT)
But in pass 2, binutils has installed in /tools/x86_64-pc-linux-gnu (which refers to the host, right?)
In my opinion the pc folder should never have been built, and I am afraid the gcc I built after binutils may also be affected
Please let me know if my suspicion is correct, and where could the problem be. I tried building binutils pass 2 again with the instructions in Section 5.9 of the book, and it created the pc folder again.