全部博文(92)
分类: 嵌入式
2009-09-16 18:42:52
1.Create an empty director
#cd /opt/armlinux
#mkdir rootfs
#cd rootfs
#mkdir bin dev etc lib mnt proc sbin sys tmp usr
#mkdir mnt/etc
2.Install Tree sofeware
$mv tree-1.5.0.tgz tree-1.5.0.tar.gz
$cd ../software
$tar xvzf ../source/tree-1.5.0.tar.gz
$make
$make install
# cp arch/arm/configs/s3c2410_defconfig .config
# export PATH=$PATH:/home/linux/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin:
download tree-1.5.2.1 and put it under /opt/armlinux/rootfs
#tar -xvzf tree-1.5.2.1.tar.gz
#cd tree-1.5.2.1
#make
#make install
and then the command tree is available
#tree
.
|-- bin
|-- dev
|-- etc
|-- lib
|-- mnt
| `-- etc
|-- proc
|-- sbin
|-- sys
|-- tmp
|-- tree-1.5.2.1
| |-- CHANGES
| |-- INSTALL
| |-- LICENSE
| |-- Makefile
| |-- README
| |-- man
| | |-- tree.1
| | `-- tree.1.fr
| |-- strverscmp.c
| |-- tree
| |-- tree.c
| `-- tree.o
|-- tree-1.5.2.1.tgz
`-- usr