LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.7 ) section 6.10 re-adjjusting the toolchain (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-7-section-6-10-re-adjjusting-the-toolchain-850949/)

prakashsince92 12-17-2010 05:12 PM

LFS 6.7 ) section 6.10 re-adjjusting the toolchain
 
Hi,
I'm in section 6.10 of LFS book 6.7 i.e readjusting the toolchain

I'm trying to execute this code:
Code:

gcc -dumpspecs | sed -e 's@/tools@@g' \
-e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \
-e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \
`dirname $(gcc --print-libgcc-file-name)`/specs

I'm getting the following error;

Quote:

bash: /tools/lib/gcc/i686-pc-linux-gnu/4.5.1: Is a directory
Pls help me solve the issue.

prakashsince92 12-17-2010 06:25 PM

There was a syntactical error when i typed it out. It's solved no worries .


All times are GMT -5. The time now is 06:10 AM.