tcc_output_file: Write a non-memory TinyCC output file

View source: R/tinycc.R

tcc_output_fileR Documentation

Write a non-memory TinyCC output file

Description

Finalize a state created with output = "obj", "dll", "exe", or "preprocess" and write the resulting artifact. A state can be finalized only once. Memory states must instead use tcc_relocate().

Usage

tcc_output_file(state, path)

Arguments

state

A non-memory tcc_state.

path

Destination file path.

Value

Integer status code (0 = success).


Rtinycc documentation built on July 26, 2026, 1:06 a.m.