ubuntu 10.04 安装 skyeye step

1.先从skyeye下需最新的版本www.skyeye.org
skyeye-1.30-rc1.tar.gz

2.解压

# tar -xvf skyeye-1.30-rc1.tar.gz
...
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_addx.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_swap.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_ext.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_movem.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_trap.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_or.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_not.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_btst.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_clr.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_ori.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_bcc.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_cmp.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_jmp.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_subi.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_5206.h
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_neg.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_andi.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_jsr.c
skyeye-1.3.0_rc1/arch/coldfire/instruction/i_add.c
...

生成一个 skyeye-1.3.0_rc1 目录
3.建立编译目录skyeye,这样可以保证源码目录开净.

$ mkdir skyeye
$ cd skyeye


4.安装编译环境:
$ sudo apt-get install build-essential libx11-dev xorg-dev -y


5.配置skyeye的开发环境:
$ ../skyeye-1.3.0_rc1/configure
...
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands



6.编译所需要的库文件:
$ make lib
...
ignals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o
test -n "ranlib" && ranlib libhistory.a
make[1]: Leaving directory `/home/designer/skyeye/skyeye-1.3.0_rc1/third-party/readline'

$ make

你可能感兴趣的:(ubuntu 10.04 安装 skyeye step)