Skip to content

Compiler Options

Command Syntax

./choco compile  [options]

Available Options

-o <name>

Specify output filename (without extension):

./choco compile myapp.choco -o myprogram

Creates myprogram or myprogram.exe.

--no-gui

Compile without GUI support:

./choco compile myapp.choco --no-gui

Use when: - GTK4 is not available - Creating console-only app - Smaller binary size needed

-h, --help

Show help message:

./choco compile --help

Examples

# Basic compilation
./choco compile app.choco

# Custom output name
./choco compile app.choco -o myapp

# Without GUI
./choco compile console.choco --no-gui

# Both options
./choco compile app.choco -o myapp --no-gui