在/etc/apt/sources.list添加源
deb http://www.emdebian.org/debian unstable main
deb-src http://www.emdebian.org/debian unstable main
apt-get update
apt-get install emdebian-tools
会依赖并安装如下软件
apt-cross dpatch dpkg-cross emdebian-tools fakeroot flex gawk libclass-accessor-perl libconfig-auto-perl
libfile-homedir-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libio-string-perl
libparse-debianchangelog-perl libtimedate-perl liburi-perl libwww-perl libxml-libxml-common-perl libxml-libxml-perl
libxml-namespacesupport-perl libxml-sax-perl libxml-simple-perl libyaml-perl realpath
下面好像是flex软件的配置 下面会询问我们目标平台类型 接下来会询问你是否使用apt来安装工具链 下面是让我们添一个工作目录, 再下面就是问你用户名了,是snv服务器的,因为我们是匿名用户,因此回车就可以了。
cd / debootstrap --arch arm sarge / http://http.us.debian.org/debian debootstrap --arch arm suffolk / http://192.168.0.123/debian/target
dpkg - error: PATH is not set. I patched the problem by typing "export PATH" 这样就解决了这个问题
./configure
。。。 checking for flex... /usr/bin/flex checking for bison... no checking for byacc... no checking for yacc... no configure: error: yacc/bison could not be found, please install
apt-get install bison
checking for expect... no configure: error: expect could not be found, please install apt-get install expect