chroot $LFS /tools/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
/tools/bin/bash --login
I have no name!:/# echo 'main() {}' > dummy.c
I have no name!:/# gcc dummy.c
/tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: error while loading shared libraries: libbfd-2.14.so: cannot open shared object file: No such file or directory
collect2: ld returned 127 exit status
而且,还不能使用vi编辑器?
高手帮忙!!! |