Coder Social home page Coder Social logo

lcc42's Introduction

这是一个对lcc-4.2源代码进行注释和分析的工程. lcc是Christopher W.Fraser & David R.Hanson在《A Retargetable C Compiler: Design and Implementation》一书中介绍的编译器. 该工程的目标是对这个源码树进行注释和分析,最终将lcc移植到Ubuntu15-amd64系统下.

需要提前安装gcc 32位编译支持:

sudo apt-get install gcc-multilib

lcc-4.2编译步骤:

  1. ./config_on_ubuntu15-amd64.sh clean

  2. make all

  3. make test

  4. make triple

生成的可执行文件生成在bin目录中.

当前已知的问题: make test阶段,test suite中的paranoia.c和yacc.c未通过编译正确性测试。

lcc42's People

Contributors

nikon77 avatar tonekit007 avatar

Watchers

James Cloos avatar  avatar

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.