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. Thanks


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. Thanks