Hi all,
This is the first time I have attemped LFS. I am following the LFS project page guide.
I have installed glibc into $LFS/tools (whilst making tempory system) and so far everything seems fine. The first problem comes with the command:
Code:
mv /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
as i386-pc-linux-gnu does not exist. I looked in /tools and found i686-pc-linux-gnu so used that instead, ie
Code:
mv /tools/1686-pc-linux-gnu/bin/{ld,ld-old}
this didn't return any errors so I assume it worked although maybe this problem is a symptom of an earlier mistake?
There was also an ambiguous redirect error for
Code:
gcc -dumpspecs > $SPECFILE
I got around this by using a file SPECFILE not a variable - again this did not return any errors so I assumed it worked! (you know what they say about assumptions!!!)
The final error - the one I can't get around - is when I use
Code:
find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \: &&
rm
which returns
Code:
find: invalid predicate '-print-libgcc-file-name)/include/*'
I am using a HP omnibook notebook with P3 processor.
I have tried from scratch four times now with the same errors.
Any help would be appreciated.
Cheers