Building uClinux on ubuntu
时间:2011-01-25 来源:Charlut
1. Install arm-elf-gcc toolchain
$ wget http://www.uclinux.org/pub/uClinux/arm-elf-tools/arm-elf-tools-20030314.sh $ ./arm-elf-tools-20030314.sh
But it will pop up an error: tail: cannot open `+43′ for reading: No such file or directory
>fix:
$ sed ‘s/^tail /tail -n/’ arm-elf-tools-20030314.sh > arm-elf-tools-20030314.sh.tmp $ chmod +x arm-elf-tools-20030314.sh.tmp $ sudo ./arm-elf-tools-20030314.sh.tmp
2. Unzip uClinux source
$ wget http://www.uclinux.org/pub/uClinux/dist/uClinux-dist-20040408.tar.gz $ tar zxvf uClinux-dist-20040408.tar.gz
3. Install some library
$ sudo apt-get install ncurses-dev tcl tk
4. Configure
$ make xconfig
5. Make
$ make dep $ make
6. That's all!
相关阅读 更多 +