这篇只讲使用,理论基础篇以后出。之前出过一篇gem5的安装,那种方法也是可行的,但是最近尝试了多种方法,现在这种应该算是最便捷的。
推荐gem5官网 http://www.m5sim.org/Build_System
1.安装各类库文件(当纯环境写的)
以Ubuntu14.04为例,其他的版本也是基本上差不多的
sudo apt-get install mercurial scons swig gcc m4 python python-dev libgoogle-perftools-dev g++ libprotobuf-dev
还需要安装好编译环境:
sudo apt-get install build-essential
2.下载gem5