一. 前言

  Skyeye是一个嵌入式开发板模拟软件,支持多种指令集、多种CPU。本文介绍Skyeye-1.3.5工具的安装。基于以下环境:

  1. Ubuntu14.04 LTS (32位), 运行于VMWare虚拟机中;

  2. Skyeye-1.3.5;

二、 准备

  1. 下载Skyeye-1.3.5源代码

  下载地址:https://sourceforge.net/projects/skyeye/files/skyeye/

hello@hello-pc:~/Desktop$ ls skyeye-1.3.5_rc1.tar.bz2
skyeye-1.3.5_rc1.tar.bz2
hello@hello-pc:~/Desktop$ tar -vxf skyeye-1.3.5_rc1.tar.bz2

  

  2. 下载并安装所需依赖库(libiconv-1.14.tar.gz);

(说明:此处参考:http://www.codeweblog.com/skyeye-1-3-5安装过程)

hello@hello-pc:~/Desktop$ ls libiconv-1.14.tar.gz
libiconv-1.14.tar.gz
hello@hello-pc:~/Desktop$ tar -vxf libiconv-1.14.tar.gz

hello@hello-pc:~/Desktop$ cd
libiconv-1.14/              Python-2.7/                 skyeye-testsuite-1.3.4_rc1/ vmware-tools-distrib/
hello@hello-pc:~/Desktop$ cd libiconv-1.14/
hello@hello-pc:~/Desktop/libiconv-1.14$ ls
ABOUT-NLS   ChangeLog      configure     DESIGN        HACKING          libtool         man    PORTS         src       THANKS
aclocal.m4  config.h       configure.ac  djgpp         include          m4              NEWS   preload       srclib    tools
AUTHORS     config.h.in    COPYING       doc           INSTALL.generic  Makefile        NOTES  README        srcm4     windows
autogen.sh  config.log     COPYING.LIB   extras        lib              Makefile.devel  os2    README.djgpp  stamp-h1  woe32dll
build-aux   config.status  DEPENDENCIES  gnulib-local  libcharset       Makefile.in     po     README.woe32  tests
hello@hello-pc:~/Desktop/libiconv-1.14$ ./configure ; sudo make ; sudo make install

  若make install过程出现错误:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function),需要修改如下:

  (说明:此处参考:http://blog.csdn.net/chentianveiko/article/details/51498831)

hello@hello-pc:~/Desktop/libiconv-1.14$ gvim ./srclib/stdio.h

 1 _GL_CXXALIAS_SYS (gets, char *, (char *s));
 2 #  undef gets
 3 # endif
 4 _GL_CXXALIASWARN (gets);
 5 /* It is very rare that the developer ever has full control of stdin,
 6    so any use of gets warrants an unconditional warning.  Assume it is
 7    always declared, since it is required by C89.  */
 8 #if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) /*Add here*/
 9 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
10 #endif
11
12 #endif

3. 下载并安装所需依赖库(Python-2.7);

(说明:此处参考:http://www.codeweblog.com/skyeye-1-3-5安装过程)

hello@hello-pc:~/Desktop$ cd Python-2.7/
hello@hello-pc:~/Desktop/Python-2.7$ ls
build          configure.in  Include         libpython2.7.so      Makefile         Modules  PCbuild        Python         setup.py
config.log     Demo          install-sh      libpython2.7.so.1.0  Makefile.pre     Objects  pyconfig.h     python-gdb.py  Tools
config.status  Doc           Lib             LICENSE              Makefile.pre.in  Parser   pyconfig.h.in  README
configure      Grammar       libpython2.7.a  Mac                  Misc             PC       python         RISCOS
hello@hello-pc:~/Desktop/Python-2.7$ ./configure --enable-shared  --enable-unicode=ucs4
hello@hello-pc:~/Desktop/Python-2.7$ sudo make
hello@hello-pc:~/Desktop/Python-2.7$ sudo make install

说明:若不正常安装Python-2.7, skyeye安装会出现如下错误;

sudo apt-get install python-dev 

    -g -O2 -MT pycli.lo -MD -MP -MF .deps/pycli.Tpo -c -o pycli.lo `test -f 'pycli/pycli.c' || echo './'`pycli/pycli.c
/bin/bash: python-config: command not found
libtool: compile:  gcc -g -O2 -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DSKYEYE_BIN=\"/opt/skyeye/bin/\" -g -O2 -Werror-implicit-function-declaration -Werror=return-type -Wmissing-field-initializers -Wuninitialized -I. -I.. -I../third-party/include/ -I../third-party/bfd/ -I../third-party/bfd/ -I../common -I../common/include -I./common/ -g -O2 -MT pycli.lo -MD -MP -MF .deps/pycli.Tpo -c pycli/pycli.c  -fPIC -DPIC -o .libs/pycli.o
pycli/pycli.c:1:20: fatal error: Python.h: No such file or directory#include <Python.h>^
compilation terminated.
make[2]: *** [pycli.lo] Error 1
make[2]: Leaving directory `/home/hello/skyeye/skyeye-1.3.5_rc1/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hello/skyeye/skyeye-1.3.5_rc1'
make: *** [all] Error 2
hello@hello-pc:~/skyeye/skyeye-1.3.5_rc1$ gvim pycli/pycli.c

4. 安装所需依赖库

hello@hello-pc:~/Desktop/Python-2.7$ sudo apt-get install libgtk2.0-dev pkg-config libatk1.0-dev
hello@hello-pc:~/Desktop/Python-2.7$ sudo apt-get install libpango1.0-dev libfreetype6-dev libglib2.0-dev libx11-dev binutils-dev
hello@hello-pc:~/Desktop/Python-2.7$ sudo apt-get install libncurses5-dev libxpm-dev libltdl-dev
hello@hello-pc:~/Desktop/Python-2.7$ 

三、 安装Skyeye-1.3.5

hello@hello-pc:~/Desktop$ cd ../skyeye/skyeye-1.3.5_rc1/
hello@hello-pc:~/skyeye/skyeye-1.3.5_rc1$ ls
aclocal.m4          bochs_config.h.in  config.log     Doxyfile    ltdlconf.h        Makefile.in        pyshell         stamp-h2
android             ChangeLog          config.status  emulator    ltdlconf.h.in     misc               README          stamp-h3
android_emulator.o  common             config.sub     gui         ltmain.sh         missing            REPORTING-BUGS  testsuite
arch                conf               configure      INSTALL     m4                mknandflashdump    setenv.o        third-party
AUTHORS             config.guess       configure.in   install-sh  MAINTAINERS       mknandflashdump.o  skyeye          TODO
autogen.sh          config.h           COPYING        libltdl     Makefile          NEWS               skyeye.o        uart_console.o
autom4te.cache      config.h.in        depcomp        libtool     Makefile.am       prof_convert       soc             uart_instance
bochs_config.h      config.h.in~       device         LICENSE     Makefile.android  prof_convert.o     stamp-h1        utils
hello@hello-pc:~/skyeye/skyeye-1.3.5_rc1$ sudo make
hello@hello-pc:~/skyeye/skyeye-1.3.5_rc1$ sudo make install
hello@hello-pc:~/skyeye/skyeye-1.3.5_rc1$ sudo make install_lib
hello@hello-pc:~/skyeye/skyeye-1.3.5_rc1$ 

四、启动skyeye

hello@hello-pc:/opt/skyeye$ cd /opt/skyeye/
hello@hello-pc:/opt/skyeye$ ls
bin  include  info  lib  testsuite
hello@hello-pc:/opt/skyeye$ cd testsuite/arm_hello/
hello@hello-pc:/opt/skyeye/testsuite/arm_hello$ ../../bin/skyeye -e arm_hello
SkyEye 1.3.5
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list. (skyeye) 

运行简单arm_hello实例效果如下:

转载于:https://www.cnblogs.com/digital-wei/p/6262643.html

【开发环境】 Ubuntu14.04 安装Skyeye 1.3.5过程相关推荐

  1. ubuntu14.04 安装skyeye

    不要用别的方法, 就用命令行安装 sudo apt-get install skyeye 很快就好啦,输入skyeye就会出现反映 这就成功了,网上很多人贴出了用解压缩包安装,很麻烦,不以为然,而且我 ...

  2. SLAM导航机器人零基础实战系列:(五)树莓派3开发环境搭建——1.安装系统ubuntu_mate_16.04...

    SLAM导航机器人零基础实战系列:(五)树莓派3开发环境搭建--1.安装系统ubuntu_mate_16.04 摘要 通过前面一系列的铺垫,相信大家对整个miiboo机器人的DIY有了一个清晰整体的认 ...

  3. ubuntu14.04安装hadoop2.7.1伪分布式和错误解决

    ubuntu14.04安装hadoop2.7.1伪分布式和错误解决 需要说明的是我下载的是源码,通过编译源码并安装 一.需要准备的软件: 1.JDK和GCC     设置JAVA_HOME:      ...

  4. 编译android 7.1 jdk版本,ubuntu14.04 安装 open-jdk-1.8,下载编译 android nougat 7.1.1

    一,ubuntu14.04 安装 open-jdk-1.8 在 ubuntu 下,把jdk 解压到 /usr/lib/jvm/ 目录下,配置环境变量,就ok. 下面是我已经安装的jdk crg@crg ...

  5. ubuntu14.04安装tensorflow-gpu

    ubuntu14.04 安装anaconda+tensorflow-gpu版本 本电脑为cuda-8.0,cudnn-6.0.21,安装tensorflow-gpu=1.3.0 更多匹配版本见  ht ...

  6. ubuntu14.04安装与软件重装说明

    1.  安装ubuntu14.04 1)利用U盘安装号系统:ssd盘作/ 20G  /HOME  100G   swap分区用机械硬盘10G 2)装好后,打开软件更新,选最优服务器,跟新软件.. su ...

  7. SLAM导航机器人零基础实战系列:(五)树莓派3开发环境搭建——2.安装ros-kinetic

    SLAM导航机器人零基础实战系列:(五)树莓派3开发环境搭建--2.安装ros-kinetic 摘要 通过前面一系列的铺垫,相信大家对整个miiboo机器人的DIY有了一个清晰整体的认识.接下来就正式 ...

  8. ubuntu14.04安装theano,cuda7.5

    转自:http://www.myexception.cn/cuda/2017261.html 折腾记录--Ubuntu 14.04系统安装Nvidia CUDA7.5并搭建Python Theano深 ...

  9. Ubuntu14.04 安装 TL-WN823N无线网卡驱动

    Ubuntu14.04 安装 TL-WN823N无线网卡驱动 前言 一.查看网卡芯片 二.安装步骤 1.下载驱动 2.安装驱动 总结 前言 在搭建Ubuntu14.04使用环境时,由于缺乏有线网,需要 ...

最新文章

  1. 最全面的Unity游戏开发指南视频教程 第2卷
  2. 正则表达式用单个空格替换多个空格
  3. 如何评价软件写的好还是坏?
  4. JS跨域控制IFrame高度自适应
  5. 利用 Sql 实现数据透视表功能
  6. struts2的s:iterator 标签 详解
  7. C语言进阶——全局变量
  8. 不合群的人,经常习惯一个人独来独往,这样的人有出息吗?
  9. 面试题--------4、数据类型
  10. 小议使用“完整”的CSS的缺点
  11. PDFLib9以上版本的去水印办法
  12. ANSYS中压电材料的参数分析
  13. 环路稳定性原理与DCDC Buck环路稳定性
  14. HTML+CSS+JS制作爱心表白代码 520情人节源码HTML 七夕情人节表白代码制作 生日祝福代码
  15. ping命令结果中如何显示时间
  16. 「2017ACM/ICPC亚洲区域赛北京站现场赛G」Liaoning Ship's Voyage【计算几何】
  17. matlab 求向量的正切,matlab中的反正切函數 | 學步園
  18. [Excel常用函数] sumif sumifs函数
  19. 总结python源文件编译、反编译、加密混淆
  20. 在windows下使用python中的select函数报错‘[WinError 10038] 在一个非套接字上尝试了一个操

热门文章

  1. 舆情分析报告写作的架构与方法|下
  2. 7月生日会|清凉的惊喜与祝福
  3. ExcelVBA:利用SUMIF和OFFSET+MATCH进行多条件求和
  4. 学校宿舍天翼校园网构建路由器
  5. js和html:周岁年龄计算器
  6. java正则完美匹配注释_匹配Email邮箱的正则表达式(完美经典)
  7. 文献调研-存算一体的实现
  8. C 语言(int )和(int*)的区别
  9. Pegatron公司SOP管理系统的规划和实施研究(C#)
  10. 改命术:怎么赚50万以上的问题