LFS-6.7-small mistakes
hi all
i am using lfs livecd(following lfs6.7 book)
q1)i have done 5.7. Glibc-2.12.1,i didnot get any error
now i am @ 5.8. Adjusting the Toolchain(pageno-42) ,for this i did following
lfs:/mnt/lfs/sources/glibc-build$SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs
lfs:/mnt/lfs/sources/glibc-build$$LFS_TGT-gcc -dumpspecs | sed \
-e 's@/lib\(64\)\?/ld@/tools&@g' \
-e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS
lfs:/mnt/lfs/sources/glibc-build$echo "New specs file is: $SPECS"
lfs:/mnt/lfs/sources/glibc-build$unset SPECS
after each above commands i didnt see any result,everytime its returning command prompt line(which is lfs:/mnt/lfs/sources/glibc-build$)
is this right?
then i gone ahead
-----------------------------------------------------------------------
q2)5.10. GCC-4.5.1 - Pass 2
i skip this following step(///)(page no-46),because
a)i dint understand where have to run this commands
b)in gcc/config dir the following files are not existed
linux.h, linux64.h or sysv4.h.
/////////////////////////////////////////////////////
for file in \
$(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
do
cp -uv $file{,.orig}
sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' \
-e 's@/usr@/tools@g' $file.orig > $file
echo '
#undef STANDARD_INCLUDE_DIR
#define STANDARD_INCLUDE_DIR 0
#define STANDARD_STARTFILE_PREFIX_1 ""
#define STANDARD_STARTFILE_PREFIX_2 ""' >> $file
touch $file.orig
done
/////////////////////////////////////////////////////////
but page no-49 caution:
lfs:/mnt/lfs/sources/gcc-build$echo 'main(){}' > dummy.c
lfs:/mnt/lfs/sources/gcc-build$cc dummy.c
lfs:/mnt/lfs/sources/gcc-build$readelf -l a.out | grep ': /tools'
output of the above last command is giving follwing result
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
what i done mistake
-------------------------------------------------------------------
q3) now 5.11. Tcl-8.5.8
when i typed make install i got followng error
lfs:/mnt/lfs/sources/tcl8.5.8/unix$make install
make:***[install-msgs]error 127
is this problem becuase of skipiing(i mentioned in q2) ///// step
a will appreciate reply
any one can help
please ans me in steps,bcz i am new to this lfs
thanks for all
|