1valac(1) Vala valac(1)
2
3
4
6 valac - compiler that translates Vala source code into C source and
7 header files
8
10 valac [OPTION]... [FILE]...
11
13 Vala is a new programming language that aims to bring modern
14 programming language features to GNOME developers without imposing any
15 additional runtime requirements and without using a different ABI
16 compared to applications and libraries written in C.
17
18 valac, the Vala compiler, is a self-hosting compiler that translates
19 Vala source code into C source and header files. It uses the GObject
20 type system to create classes and interfaces declared in the Vala
21 source code.
22
24 --help
25
26 --vapidir=DIRECTORY...
27 Look for package bindings in DIRECTORY
28
29 --girdir=DIRECTORY...
30 Look for .gir files in DIRECTORY
31
32 --metadatadir=DIRECTORY...
33 Look for GIR .metadata files in DIRECTORY
34
35 --pkg=PACKAGE...
36 Include binding for PACKAGE
37
38 --vapi=FILE
39 Output VAPI file name
40
41 --library=NAME
42 Library name
43
44 --gir=NAME-VERSION.gir
45 GObject-Introspection repository file name
46
47 -b, --basedir=DIRECTORY
48 Base source directory
49
50 -d, --directory=DIRECTORY
51 Output directory
52
53 --version
54 Display version number
55
56 -C, --ccode
57 Output C code
58
59 -H, --header=FILE
60 Output C header file
61
62 --use-header
63 Use C header file
64
65 --includedir=DIRECTORY
66 Directory used to include the C header file
67
68 -h, --internal-header=FILE
69 Output internal C header file
70
71 --internal-vapi=FILE
72 Output vapi with internal api
73
74 --symbols=FILE
75 Output symbols file
76
77 -c, --compile
78 Compile but do not link
79
80 -o, --output=FILE
81 Place output in file FILE
82
83 -g, --debug
84 Produce debug information
85
86 --thread
87 Enable multithreading support
88
89 --enable-mem-profiler
90 Enable GLib memory profiler
91
92 -D, --define=SYMBOL...
93 Define SYMBOL
94
95 --main=SYMBOL...
96 Use SYMBOL as entry point
97
98 --nostdpkg
99 Do not include standard packages
100
101 --disable-assert
102 Disable assertions
103
104 --enable-checking
105 Enable additional run-time checks
106
107 --enable-deprecated
108 Enable deprecated features
109
110 --enable-experimental
111 Enable experimental features
112
113 --disable-warnings
114 Disable warnings
115
116 --fatal-warnings
117 Treat warnings as fatal
118
119 --enable-experimental-non-null
120 Enable experimental enhancements for non-null types
121
122 --cc=COMMAND
123 Use COMMAND as C compiler command
124
125 -X, --Xcc=OPTION...
126 Pass OPTION. to the C compiler
127
128 --dump-tree=FILE
129 Write code tree to FILE
130
131 --save-temps
132 Keep temporary files
133
134 --profile=PROFILE
135 Use the given profile instead of the default
136
137 -q, --quiet
138 Do not print messages to the console
139
140 -v, --verbose
141 Print additional messages to the console
142
143 --target-glib=MAJOR.MINOR
144 Target version of glib for code generation
145
146 --enable-version-header
147 Write vala build version in generated files
148
149 --disable-version-header
150 Do not write vala build version in generated files
151
153 Interfaces, properties, signals, foreach, lambda expressions, type
154 inference for local variables, generics, non-null types, assisted mem‐
155 ory management, exception handling
156
158 http://www.vala-project.org/
159
161 Jürg Billeter, Raffaele Sandrini.
162
163 Man page written to conform with Debian by Marc-Andre Lureau.
164
165
166
167
168vala-0.8.0 13 April 2010 valac(1)