VALAC(1)
okay bestie, pull up a chair πͺβ¨ meet valac β she's a User Commands icon and honestly? she ate.
π NAME π
valac β the compiler that translates Vala source code into C source and header files π¦
β¨ SYNOPSIS β¨
valac [OPTION]... [FILE]...
πΈ DESCRIPTION πΈ
Vala is a programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. no cap, that's the whole vibe π
valac, the Vala compiler, is a self-hosting compiler that translates Vala source code into C source and header files. She uses the GObject type system to create classes and interfaces declared in the Vala source code. it's giving iconic, fr fr π
π«Ά Usage:
valac [OPTION???] FILE... - Vala Compiler
π Help Options:
-?,--helpβ Show help options π
π Application Options:
--vapidir=DIRECTORY...β Look for package bindings in DIRECTORY π--girdir=DIRECTORY...β Look for.girfiles in DIRECTORY β¨--metadatadir=DIRECTORY...β Look for GIR.metadatafiles in DIRECTORY π--pkg=PACKAGE...β Include binding for PACKAGE π¦--vapi=FILEβ Output VAPI file name π--library=NAMEβ Library name π--shared-library=NAMEβ Shared library name used in generated gir π--gir=NAME-VERSION.girβ GObject-Introspection repository file name π§-b,--basedir=DIRECTORYβ Base source directory π-d,--directory=DIRECTORYβ Change output directory from current working directory π--versionβ Display version number π’--api-versionβ Display API version number π-C,--ccodeβ Output C code π»-H,--header=FILEβ Output C header file π--use-headerβ Use C header file (DEPRECATED AND IGNORED) π--includedir=DIRECTORYβ Directory used to include the C header file π-h,--internal-header=FILEβ Output internal C header file π--internal-vapi=FILEβ Output vapi with internal api π--fast-vapiβ Output vapi without performing symbol resolution β‘--use-fast-vapiβ Use--fast-vapioutput during this compile πββοΈ--vapi-commentsβ Include comments in generated vapi π¬--depsβ Write make-style dependency information to this file π--depfileβ Write make-style external dependency information for build systems to this file π οΈ--list-sourcesβ Output a list of all source and binding files which are used π--symbols=FILEβ Output symbols file π£-c,--compileβ Compile but do not link βοΈ-o,--output=FILEβ Place output in file FILE π€-g,--debugβ Produce debug information π--threadβ Enable multithreading support (DEPRECATED AND IGNORED) π--enable-mem-profilerβ Enable GLib memory profiler π§-D,--define=SYMBOL...β Define SYMBOL π·οΈ--main=SYMBOL...β Use SYMBOL as entry point πͺ--nostdpkgβ Do not include standard packages π«--disable-assertβ Disable assertions π€--enable-checkingβ Enable additional run-time checks β--enable-deprecatedβ Enable deprecated features π°οΈ--hide-internalβ Hide symbols marked as internal π--enable-experimentalβ Enable experimental features π§ͺ--disable-warningsβ Disable warnings π--fatal-warningsβ Treat warnings as fatal β οΈ--disable-since-checkβ Do not check whether used symbols exist in local packages π·-k,--keep-goingβ Continue as much as possible after an error πΆββοΈ--enable-experimental-non-nullβ Enable experimental enhancements for non-null types π§ͺ--enable-gobject-tracingβ Enable GObject creation tracing π--cc=COMMANDβ Use COMMAND as C compiler command π§°-X,--Xcc=OPTION...β Pass OPTION to the C compiler π¨--pkg-config=COMMANDβ Use COMMAND as pkg-config command π§--dump-tree=FILEβ Write code tree to FILE π³--save-tempsβ Keep temporary files ποΈ--profile=PROFILEβ Minimum runtime dependency:'gobject'(default) or'posix'(minimal libc).gobjectenables GLib's GType runtime type system. The runtime environment will usually requirelibgobjectand its small number of dependencies.posixremoves the dependency on GLib and disables the runtime type system. The profile either generates alternative code or errors at compile time if a Vala language feature is used that requires the runtime type system. This is useful for writing code, for example, that targets microcontrollers or for extremely small system utilities or container images. The runtime environment will usually require a small subset of the ISO C standard library. π§-q,--quietβ Do not print messages to the console π€«-v,--verboseβ Print additional messages to the console π£οΈ--no-colorβ Disable colored output, alias for--color=neverπ¨--color=WHENβ Enable color output, options are'always','never', or'auto'. When no value is givenalwaysis implied. When neither--coloror--no-colorare declared then--color=autois used where output is colored whenstderris a terminal. π--target-glib='MAJOR.MINOR', or 'auto'β Target version of glib for code generation π―--gresources=FILE...β XML of gresources πΌοΈ--gresourcesdir=DIRECTORY...β Look for resources in DIRECTORY π--enable-version-headerβ Write vala build version in generated files π·οΈ--disable-version-headerβ Do not write vala build version in generated files π«--run-argsβ Arguments passed to directly compiled executable π--abi-stabilityβ Enable support for ABI stability. This changes the current behaviour to output public members of classes and interfaces the same order as they appear in Vala source. For libraries is recommended to use--abi-stabilityto ensure the maintainability of the resulting Application Binary Interface (ABI). This option is disabled by default for backward compatibility because it can break ABI of existing projects. π
π BUGS π
https://gitlab.gnome.org/GNOME/vala/issues β take it there bestie, she'll listen π«Ά
π HOMEPAGE OR CONTACT π
https://vala.dev β¨
π FEATURES π
Interfaces, properties, signals, foreach, lambda expressions, type inference for local variables, generics, non-null types, assisted memory management, exception handling π
the way that list just keeps goingβ¦
π AUTHORS π
J??rg Billeter, Raffaele Sandrini, Rico Tzschichholz. legends only, fr fr π
and that's a wrap on the VALAC(1) page, bestie β she's Vala 0.56.19, dated March 2026, and she's out here compiling your dreams into C. go write something iconic, ily πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: vala-doc 0.56.19-r0 Β· LGPL-2.0-or-later
- arch rolling: vala 0.56.19-2 Β· LGPL-2.1-or-later
- fedora 43: vala 0.56.19-1.fc43 Β· LGPL-2.1-or-later AND BSD-2-Clause
- fedora 43: vala 0.56.19-1.fc43 Β· LGPL-2.1-or-later AND BSD-2-Clause
- fedora 44: vala 0.56.19-1.fc44 Β· LGPL-2.1-or-later AND BSD-2-Clause
- fedora 44: vala 0.56.19-1.fc44 Β· LGPL-2.1-or-later AND BSD-2-Clause
- nixos 26.05: vala 0.56.19
- nixpkgs unstable: vala 0.56.19
- ubuntu stonking: valac-bin 0.56.19-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms