分类: WINDOWS
2011-05-26 08:30:33
ViVi building
环境描述:
操作系统:Ubuntu 10.04 LTS
编译器:arm-linux-gcc-4.3.2
1. 把vivi目录拷贝到ubuntu系统里面,然后执行make menuconfig, 反馈如下提示:
[vincent@vincent /home/no773/vjos/vivi]
$ make menuconfig
make -C scripts/lxdialog all
make[1]: Entering directory `/home/no773/vjos/vivi/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
-e
>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'
2. 安装ncurses-dev
可选:sudo apt-get install build-essential
sudo apt-get install ncurses-dev
3. make menuconfig
make menuconfig
配置vivi的信息,完成后保存,会自动的生成.config文件,或者直接读已经配置好的.config文件,然后保存就行。
4. make 工程
make
arm-linux-objcopy -O binary vivi.elf vivi.bin
打完收工!