Previous: Compiling a context to a file, Up: Tutorial part 5: Implementing an Ahead-of-Time compiler [Contents][Index]
The above demonstrates compiling a gcc_jit_context * directly to an executable. It’s also possible to compile it to an object file, and to a dynamic library. See the documentation of gcc_jit_context_compile_to_file() for more information.