|
时间不好着,总算把静态部分编译完了
chroot时我用的是tarm的代码:
chroot $LFS /static/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
CC='gcc -s' \
CHOST="i686-pc-linux-gnu" \
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer
-ffast-math -funroll-loops -fforce-addr -falign-functions=4"\
CXXFLAGS="${CFLAGS}" \
/static/bin/bash --login
可是在运行chmod之类是确是下面的情况:
I have no name!:/static/bin# chmod
bash: /static/bin/chmod: No such file or directory
I have no name!:/static/bin# ls
bash: /static/bin/ls: No such file or directory
I have no name!:/static/bin#
哪个环境变量有问题???
|
|