ESESC仿真器的安装

一、ESESC简介

1、ESESC blog has these slides

http://masc.soe.ucsc.edu/esesc

2、ESESC forum

https://groups.google.com/forum/#!forum/esesc

3、ESESC repository at github

https://github.com/masc-ucsc/esesc

4、To get the code

https://github.com/masc-ucsc/esesc.git

注意:上面都是一些链接,你可以从这些网站得到一些关于ESESC仿真器的资料。

二、ESESC仿真器的安装

1、首先从官网下载源代码,上面的链接已经给出

2、建立自己的目录结构,例如:/home/ercesi/cyh/esesc

3、将下载好的源代码解压到自己的目录下,例如: /home/ercesi/cyh/esesc/esesc-master

4、ESESC版本

ESESC有两个版本,即release版本和debug版本,debug版本slower、 more information ,然而release版本 faster 、less information,在本文中采用的是release版本。

在/home/ercesi/cyh/esesc/esesc-master下面建立build目录,在build目录下建立release目录,最后结果:/home/ercesi/cyh/esesc/esesc-master/build/release

5、安装下面的软件

sudo apt-get install build-essential
sudo apt-get install cmake
sudo apt-get install libboost-dev
sudo apt-get install bison flex
sudo apt-get install g++
sudo apt-get install python
sudo apt-get install texinfo
sudo apt-get install libglib2.0-dev
sudo apt-get install libncurses5-dev

6、编译

执行下面的指令:

cmake ~/cyh/esesc/esesc-master

输出的内容:

ercesi@demo:~/cyh/esesc/esesc-master/build/release$ cmake /home/ercesi/cyh/esesc/esesc-master
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using /usr/bin/cc
  -DESESC_SYSTEM=0              Enable esesc/qemu user mode simulation
  -DESESC_LIVE=0                Disable esesc live compilation (default)
  -DCMAKE_HOST_MARCH=native compilation
  -DCMAKE_BUILD_TYPE=Release    release compilation 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值