Giter Club home page Giter Club logo

wcc's Introduction

wcc

wcc is a C compiler targeted at the WRAMP architecture. It is based on lcc, a retargetable compiler. Copyright information for lcc can be found in CPYRIGHT. Also included in this repo is rex.h, a header file containning definitions for WRAMP IO structures.

Usage

Using wcc requires binaries for wcpp, rcc, and wasm to be either in the PATH or in the same directory as the built binaries. wcpp and rcc are built by this project, and wasm can be found in wasm.

Help for wcc can be found by running wcc -h, but a few particularly useful arguments are listed below.

-c          compile only
-o file     leave the output in `file'
-S          compile to assembly language

-c can be used to manually link the output with files written in assembly.
-S allows you to view the generated code.

Building

The makefile contains several build targets, many of which are required for wcc to run properly. Run make all to build everything. By default binaries will be placed in a bin folder within the same directory as the makefile, otherwise make install will place the binaries in the folder specified in the makefile, defaulting to ~/wramp-install/.

wcc's People

Contributors

tyler-marr avatar danoost 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.