Article 5HMHT sed: can't read gcc/config/i386/t-linux64: No such file or directory

sed: can't read gcc/config/i386/t-linux64: No such file or directory

by
George528
from LinuxQuestions.org on (#5HMHT)
I am trying to compile right now GCC from source in my LFS build (currently at chapter 5). The book says if my system is x86_64 i should set the default directory name for 64-bit libraries to lib"
and here is the code:

Code:case $(uname -m) in
x86_64)
sed -e '/m64=/s/lib64/lib/' \
-i.orig gcc/config/i386/t-linux64
;;
esacbut i get this error:

Code:sed: can't read gcc/config/i386/t-linux64: No such file or directoryi searched on internet but couldn't find anywhere my problem. I made sure i follow the book's instructions by the letter and hadn't changed anything. (except for copying .bashrc and .bash_profile for the new user, but that is irrelevant i think). Any thought?
if you need additional information, just tell me where to find it and i will show you. Thankslatest?d=yIl2AUoC8zA latest?i=tkiHBhfo0Wc:7s7IDNkdWlQ:F7zBnMy latest?i=tkiHBhfo0Wc:7s7IDNkdWlQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=tkiHBhfo0Wc:7s7IDNkdWlQ:gIN9vFwtkiHBhfo0Wc
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