Scroll to navigation

GIR2PAS(1) User Commands GIR2PAS(1)

NAME

gir2pas - Pascal binding generator for GObject Introspection

SYNOPSIS

gir2pas [options] -i filename

DESCRIPTION

Show this help message.
GIR filename to convert (without extention).
Directory to write the resulting .pas files to. If not specified then the current working directory is used.
Use unit dynlibs and link at runtime
Do not create wrappers for objects.
If the output .pas file(s) already exists then overwrite them.
/usr/share/gir-1.0 is not added as a search location for needed .gir files.
List of paths seperated by ":" to search for needed .gir files.
Include fields and methods marked as deprecated.
Creates a test program per unit to verify struct sizes.
Set a prefix to be added to each unitname.
Do not include symbols introduced after <max-version>. Can be used multiple times. i.e "-M gtk-3.12 -M glib-2.23"
Include deprecated symbols that are >= to $version. Uses the same format as --max-version. Has no effect if --deprecated is defined
Declare C enums as either IntConst, TypedIntConst, IntAliasConst, Enum or Set
Verbose level (error, warning, info, debug).
March 2026 gir2pas 0.1.1-1