sed question from Ch 6.12
What is the purpose of `gcc --print-file specs` in this sed command:
sed -i 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \
`gcc --print-file specs`
Will sed execute
`gcc --print-file specs`
as a shell command? I didn't run the sed command from Chapter 6.12. Instead, I edited the specs file by hand. Should I then run
`gcc --print-file specs`
from the command line?
(Actually, I went ahead and did run
`gcc --print-file specs`
from the command line, and the response I got was only this:
/tools/lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Since then, the rest of my LFS install has been going without trouble.)
|