GithubHelp home page GithubHelp logo

brugarolas / gdcc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidph/gdcc

0.0 0.0 0.0 3.73 MB

Game Data Compiler Collection

License: Other

C++ 80.93% C 16.97% Assembly 0.83% CMake 1.27%

gdcc's Introduction

Game Data Compiler Collection (GDCC)

A collection of programs for compiling/processing source code for use by video
games. This includes compiling to bytecode as well as preprocessing definition
data. The programs are meant to be suitable for use in automated build systems.


GDCC ACS Compiler (gdcc-acc)

Compiles Hexen ACS source into IR data.


GDCC Wad Archiver (gdcc-ar-wad)

Packs and unpacks Doom WAD format archives.


GDCC Assembler (gdcc-as)

Compiles GDCC assembly into IR data for a low-level interface to the IR.


GDCC C Compiler (gdcc-cc)

Compiles C source into IR data.


GDCC C Preprocessor (gdcc-cpp)

Applies C preprocessing to input files.


GDCC IR Dump (gdcc-irdump)

IR inspection and disassembler. Primarily intended for debugging compilers.


GDCC Linker (gdcc-ld)

Linker program for converting intermediary representation files to bytecode.


GDCC NTS Compiler (gdcc-ntsc)

Processes plain text files into Doominati NTS format by tokenizing.


GDCC MakeLib (gdcc-makelib)

Compiles entire libraries into IR data.


===============================================================================
Usage Overview
===============================================================================

===========================================================
Headers
===========================================================

By default, system headers are looked for under <system path>/lib, which must
have the contents of the repository lib directory. <system path> under Windows
is the executable directory, otherwise /usr/share/gdcc.

If the lib directory is elsewhere, the --lib-path option must be used to locate
it.


===============================================================================
Compilation
===============================================================================

===========================================================
Dependencies
===========================================================

Currently, the only library dependency is GMP, the GNU Multiple Precision
Arithmetic Library (https://gmplib.org/) and its C++ API.

Additionally, cmake (https://cmake.org/) is required to build.

===========================================================
Linux
===========================================================

From the repository root, compilation can be done with the following commands:
  mkdir build
  cd build
  cmake ..
  make
Executables and needed shared objects will be generated under their associated
directories under build/src. (For example, gdcc-cc is under build/src/CC.)

===========================================================
Windows (mingw-w64)
===========================================================

To build and install libgmp from its source, the following can be used:
  ./configure
  make
  make check
  make install

From the repository root, compilation can be done with the following commands:
  mkdir build
  cd build
  cmake ..
  mingw32-make
  mingw32-make install

gdcc's People

Contributors

davidph avatar marrub-- 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.