Problem on installing Xorg

Stephen Liu satimis at yahoo.com
Thu Aug 18 08:22:53 PDT 2005


Hi Chris,

> Just see if the symlink is there. Do "ls -l
> /usr/bin/cc". If it is, and 
> it points to gcc, then run "ldd /usr/bin/gcc".

root:/sources$ ls -l /usr/bin/cc
ls: /usr/bin/cc: No such file or directory

root:/sources$ find / -name cc
/tools/bin/cc
/.Trash-0/files/gcc-3.4.3/gcc/testsuite/ada/acats/tests/cc
/.Trash-0/files/linux-2.6.11.12/include/config/cc

root:/sources$ find / -name gcc
/tools/lib/gcc
/tools/bin/gcc
/usr/bin/gcc
/usr/lib/gcc
/.Trash-0/files/file-4.13/magic/Magdir/gcc
/.Trash-0/files/gcc-3.4.3/gcc
/.Trash-0/files/gcc-3.4.3/gcc/testsuite/ada/acats/tests/gcc
/.Trash-0/files/gcc-build/gcc
/.Trash-0/files/linux-2.6.11.12/include/asm-mips/gcc
/.Trash-0/files/linux-libc-headers-2.6.11.2/include/asm-mips/gcc

root:/sources$ find / -name cpp
/tools/bin/cpp
/lib/cpp
/usr/bin/cpp
/.Trash-0/files/gcc-3.4.3/gcc/testsuite/g++.dg/cpp
/.Trash-0/files/gcc-3.4.3/gcc/testsuite/gcc.dg/cpp
/.Trash-0/files/gcc-build/gcc/cpp
/.Trash-0/files/glibc-2.3.4/scripts/cpp
/.Trash-0/files/perl-5.8.6/qnx/cpp

In referring to my Notes on building LFS 6.1,
following 2 steps left out on section 6.14. GCC-3.4.3
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gcc.html
ln -s ../usr/bin/cpp /lib
ln -s gcc /usr/bin/cc

Can I do the missing steps on chroot environment, i.e.
ln -s /usr/bin/cpp /lib
ln -s /usr/bin/gcc /usr/bin/cc

TIA

B.R.
SL



More information about the blfs-support mailing list