Git Product home page Git Product logo

awdb-c's Introduction

awdb-c

www.ipplus360.com 官方支持的解析awdb格式的C代码(Official support for parsing C code in AWDB format )

Usage:

To install this code, run the following commands:

  1. install package on ubuntu:

    sudo apt-get –y install  dh-autoreconf gcc make 

    on centos:

    yum –y install gcc make autoreconf
  2. compile and install

    $ sh bootstrap 
    $ ./configure --disable-tests
    $ sudo make
    $ sudo make install
    $ sudo sh -c "echo /usr/local/lib  >> /etc/ld.so.conf.d/local.conf"
    $ sudo ldconfig
  3. compile the demo

    $ gcc test.c -I./include -laiwendb
    $ ./a.out
  4. problems. if you got compile error,you need update your gcc version

    1. download gcc 5.4.0

      $ wget https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2
      $ tar -jxvf gcc-5.4.0.tar.bz2
      $ cd gcc-5.4.0
      $ ./contrib/download_prerequisites
      $ mkdir gcc-build-5.4.0
      $ cd gcc-build-5.4.0
      $ ../configure --enable-checking=release --enable-languages=c,c++ --disable-multilib
      $ make
      $ make install
      $ cd /usr/bin/
      $ mv gcc gcc_back
      $ mv g++ g++_back
      $ ln -s /usr/local/bin/gcc gcc
      $ ln -s /usr/local/bin/g++ g++
    2. if got error: ‘__int128’ is not supported on this target ,you machine is x86,change machine to x86_64

awdb-c's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.