tracef 安装 跟踪 函数调用图
2015-11-18 16:11
337 查看
http://www.prevanders.net/dwarf.html
redhat 5.4
tar -zxvf libdwarf-20140519.tar.gz
[root@localhost dwarf-20140519]# pwd
/root/dwarf-20140519
cd libdwarf
./configure --enable-shared
make
cp libdwarf.so /usr/local/lib/
cp *.h /usr/include/libdwarf/
yum install boost-devel
然后再安装tracef-0.16
redhat 5.4
tar -zxvf libdwarf-20140519.tar.gz
[root@localhost dwarf-20140519]# pwd
/root/dwarf-20140519
cd libdwarf
./configure --enable-shared
make
cp libdwarf.so /usr/local/lib/
cp *.h /usr/include/libdwarf/
yum install boost-devel
然后再安装tracef-0.16
o just build libdwarf and dwarfdump one might do: ./configure make dd #You may need to be root to do the following copy commands cp dwarfdump/dwarfdump /usr/local/bin cp dwarfdump/dwarfdump.conf /usr/local/lib #The following is optional, not needed to run dwarfdump #when doing the default build. cp libdwarf/libdwarf.a /usr/local/lib For a simple build of libdwarf, dwarfdump, and dwarfdump2 and the other tools: ./configure make cp dwarfdump2/dwarfdump <somewhere> #Optionally: cp libdwarf/libdwarf.a <somewhere> To build all the tools (including dwarfgen and dwarfexample) use 'make all'. There are known small compile-time issues with building dwarfgen on MaxOSX and most don't need to build dwarfgen. ./configure make all To also build a shared libdwarf in the process, do: ./configure --enable-shared make cp libdwarf/libdwarf.so <somewhere> cp dwarfdump2/dwarfdump <somewhere> When ready to create a new distro, do ./CPTOPUBLIC ./BLDLIBDWARF yyyymmdd where that could be ./BLDLIBDWARF 20140131 as an example. David Anderson. Updated February 2, 2014.
相关文章推荐
- php连接oracle数据库转载
- 解决不同类型手机系统照相机拍照无法确定返回问题
- 《犯错的孩子值得表扬》
- sql REPLACE 把()替换成空
- Linux下配置Mysql允许远程访问详解
- STM32 的加密实现(转)
- Ⅰ.2.6.6 如何测试Graphics Views、Graphics Scenes 和 Graphics Items (Qt 4)
- 一个长度可变的数组结构体的用法(命名空间的用法)
- 使用字体编辑软件修改字体
- 如何使用Less?
- [LeetCode][Java]The Skyline Problem
- Linux 编译安装Boost
- 用@ExceptionHandler 来进行异常处理
- Android 开发者笔记(OP)
- 自动化运维-自动化扩容介绍加etcd部署
- Android Studio 第三方jar包报错(Error: duplicate files during packaging of APK)
- SVN – 搭建 SVN 服务器 && 多项目分别建立版本库 && 同步至生产环境
- Android 开机自启动应用
- 是不是所有的文法都可以化为LL(1)文法?
- .Net中的反应式编程(Reactive Programming)