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 --girdir=DIRECTORY...
27 Look for .gir files in DIRECTORY
28
29 --vapidir=DIRECTORY...
30 Look for package bindings in DIRECTORY
31
32 --pkg=PACKAGE...
33 Include binding for PACKAGE
34
35 --vapi=FILE
36 Output VAPI file name
37
38 --library=NAME
39 Library name
40
41 --gir=NAME-VERSION.gir
42 GObject-Introspection repository file name
43
44 -b, --basedir=DIRECTORY
45 Base source directory
46
47 -d, --directory=DIRECTORY
48 Output directory
49
50 --version
51 Display version number
52
53 -C, --ccode
54 Output C code
55
56 -H, --header=FILE
57 Output C header file
58
59 --use-header
60 Use C header file
61
62 --includedir=DIRECTORY
63 Directory used to include the C header file
64
65 -h, --internal-header=FILE
66 Output internal C header file
67
68 --internal-vapi=FILE
69 Output vapi with internal api
70
71 --symbols=FILE
72 Output symbols file
73
74 -c, --compile
75 Compile but do not link
76
77 -o, --output=FILE
78 Place output in file FILE
79
80 -g, --debug
81 Produce debug information
82
83 --thread
84 Enable multithreading support
85
86 --enable-mem-profiler
87 Enable GLib memory profiler
88
89 -D, --define=SYMBOL...
90 Define SYMBOL
91
92 --main=SYMBOL...
93 Use SYMBOL as entry point
94
95 --nostdpkg
96 Do not include standard packages
97
98 --disable-assert
99 Disable assertions
100
101 --enable-checking
102 Enable additional run-time checks
103
104 --enable-deprecated
105 Enable deprecated features
106
107 --enable-experimental
108 Enable experimental features
109
110 --disable-warnings
111 Disable warnings
112
113 --fatal-warnings
114 Treat warnings as fatal
115
116 --enable-experimental-non-null
117 Enable experimental enhancements for non-null types
118
119 --disable-dbus-transformation
120 Disable transformation of D-Bus member names
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)