Navigation

  • index
  • next |
  • libgccjit 11.3.0 ( ) documentation »

Table Of Contents

  • libgccjit
  • Indices and tables

Next topic

Tutorial

This Page

  • Show Source

Quick search

libgccjit¶

This document describes libgccjit, an API for embedding GCC inside programs and libraries.

There are actually two APIs for the library:

  • a pure C API: libgccjit.h
  • a C++ wrapper API: libgccjit++.h. This is a collection of “thin” wrapper classes around the C API, to save typing.

Contents:

  • Tutorial
    • Tutorial part 1: “Hello world”
    • Tutorial part 2: Creating a trivial machine code function
    • Tutorial part 3: Loops and variables
    • Tutorial part 4: Adding JIT-compilation to a toy interpreter
    • Tutorial part 5: Implementing an Ahead-of-Time compiler
  • Topic Reference
    • Compilation contexts
    • Objects
    • Types
    • Expressions
    • Creating and using functions
    • Function pointers
    • Source Locations
    • Compiling a context
    • ABI and API compatibility
    • Performance
    • Using Assembly Language with libgccjit
  • C++ bindings for libgccjit
    • Tutorial
    • Topic Reference
  • Internals
    • Working on the JIT library
    • Running the test suite
    • Environment variables
    • Packaging notes
    • Overview of code structure
    • Design notes
    • Submitting patches

Indices and tables¶

  • Index
  • Module Index
  • Search Page

Navigation

  • index
  • next |
  • libgccjit 11.3.0 ( ) documentation »
© Copyright 2014-2021 Free Software Foundation, Inc.. Created using Sphinx 1.7.6.