• tracef 安装 跟踪 函数调用图


    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

    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.
  • 相关阅读:
    codeforces round #433 div2
    bzoj1951
    bzoj3620
    bzoj2286
    bzoj1513
    bzoj4390
    codeforces round 430 div 2
    bzoj3339
    准备实现体积蒙皮
    看牛顿法的改进与验证局部收敛
  • 原文地址:https://www.cnblogs.com/zengkefu/p/4974868.html
Copyright © 2020-2023  润新知