Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtkamlc(1) [debian man page]

GTKAMLC(1)						      General Commands Manual							GTKAMLC(1)

gtkamlc - Gtkaml/GtkON compiler SYNOPSIS
gtkamlc [options] files... gtkaml [options] files... DESCRIPTION
This manual page documents briefly the gtkamlc command. gtkamlc is a compiler for the Gtkaml and the GtkON languages. These languages let you create GTK UIs to be used in Vala programs with a compact syntax. gtkaml uses the compiler and runs the output executable. For GtkON files, support for #! is enabled. Please see the SEE ALSO section for more information. OPTIONS
Gtkamlc options --dump-tree=FILE Write code tree to FILE, allowing one to inspect the output from the gtkaml/gtkon input files Options inherited from Valac -?, --help Show summary of options. --version Show version of program. --vapidir=DIRECTORY Look for package bindings in DIRECTORY --pkg=PACKAGE Include binding for PACKAGE --vapi=FILE Output vapi to FILE --library=NAME Library name --gir=NAME-VERSION.gir GObject-Introspection repository file name --girdir=DIRECTORY Look for .gir files in DIRECTORY --genie Enable Genie syntax mode for gtkon files -b, --basedir=DIRECTORY Base source directory -d, --directory=DIRECTORY Output directory -C, --ccode Output C code -H, --header=FILE Output C header file --use-header Use C header file --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 --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 --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 --enable-experimental Enable experimental features --disable-warnings Disable warnings --fatal-warnings Treat warnings as fatal --enable-experimental-non-null Enable experimental enhancements for non-null types --disable-dbus-transformation Disable transformation of D-Bus member names --cc=COMMAND Use COMMAND as C compiler command -X, --Xcc=OPTION Pass OPTION to the C compiler --save-temps Keep temporary files --profile=PROFILE Use the given profile instead of the default -q, --quiet Do not print messages to the console -v, --verbose Print additional messages to the console --target-glib=MAJOR.MINOR Target version of glib for code generation --enable-version-header, --disable-version-header Write/do not write vala build version in generated files SEE ALSO
For more information on the Gtkaml and the GtkON languages, please see the documentation available at the project website: AUTHOR
gtkaml was written by Vlad Grecescu <>. This manual page was written by David Paleino <>, for the Debian project (and may be used by others). Dec 1, 2011 GTKAMLC(1)

Check Out this Related Man Page

g-ir-scanner(1) 					      General Commands Manual						   g-ir-scanner(1)

g-ir-scanner - extracting C metadata from sources and headers SYNOPSIS
g-ir-scanner [OPTION...] FILES... DESCRIPTION
g-ir-scanner is a tool which generates GIR XML files by parsing headers and introspecting GObject based libraries. It is usually invoked during the normal build step for a project and the information is saved to disk and later installed, so that language bindings and other applications can use it. Header files and source files are passed in as arguments on the command line. The suffix determines whether a file be treated as a source file (.c) or a header file (.h). Currently only C based libraries are supported by the scanner. OPTIONS
--help Show help options --quiet If passed, do not print details of normal operation. --warn-all Display warnings for public API which is not introspectable. --warn-error Make warnings be fatal errors. --format=FORMAT This parameters decides which the resulting format will be used. The default value is gir. --include=NAME Add the specified introspection dependency to the scanned namespace. NAME is of the form NAMESPACE-VERSION, like Gtk-3.0. --include-uninstalled=PATH Add the specified introspection dependency to the scanned namespace. This differs from --include in that it takes a file path, and does not process the pkg-config dependencies (since they may not be installed yet). --add-include-path=PATH Add a directory to the path which the scanner uses to find GIR files. Can be used multiple times to specify multiple directories -i, --library=LIBRARY Specifies a library that will be introspected. This means that the *_get_type() functions in it will be called for GObject data types. The name of the library should not contain the leading lib prefix nor the ending shared library suffix. -L, --library-path=PATH Include this directory when searching for a library. This option can be specified multiple times to include more than one directory to look for libraries in. -Idirectory Include this directory in the list of directories to be searched for header files. You need to pass to the scanner all the directo- ries you'd normally pass to the compiler when using the specified source files. -n, --namespace=NAME The namespace name. This name should be capitalized, eg the first letter should be upper case. Examples: Gtk, Clutter, WebKit. --no-libtool Disable usage of libtool for compiling stub introspection binary. Use this if your build system does not require libtool. --libtool Full path to libtool executable. Typically used for Automake systems. --nsversion=VERSION The namespace version. For instance 1.0. This is usually the platform version, eg 2.0 for Gtk+, not 2.12.7. -p, --program=PROGRAM Specifies a binary that will be introspected. This means that the *_get_type() functions in it will be called for GObject data types. The binary must be modified to take a --introspect= option, and to pass the argument to this function to g_irepository_dump. --program-arg=ARG Additional argument to pass to program for introspection. --identifier-prefix=PREFIX This option may be specified multiple times. Each one gives a prefix that will be stripped from all C identifiers. If none speci- fied, the namespace will be used. Eg, an identifier prefix of Foo will export the identifier typdef struct _FooBar FooBar; as Foo.Bar. --symbol-prefix=PREFIX This option may be specified multiple times. Each one gives a prefix that will be stripped from all C symbols. Eg, an symbol pre- fix of foo will export the symbol foo_bar_do_something as Foo.Bar.do_something. --accept-unprefixed If specified, the scanner will accept identifiers and symbols which do not match the namespace prefix. Try to avoid using this if possible. --output=FILENAME Name of the file to output. Normally namespace + format extension. Eg, GLib-2.0.gir. --pkg=PACKAGE List of pkg-config packages to get compiler and linker flags from. This option can be specified multiple times to include flags from several pkg-config packages. --pkg-export=PACKAGE List of pkg-config packages that are provided by the generated gir. This option can be specified multiple times if the gir provides more packages. If not specified, the packages specified with --pkg= will be used. --verbose Be verbose, include some debugging information. ENVIRONMENT VARIABLES The g-ir-scanner uses the XDG_DATA_DIRS variable to check for dirs, the gir's are located in XDG_DATA_DIRS/share/gir-1.0. It is nor- mally set on a distribution so you shouldn't need to set it yourself. The variable GI_SCANNER_DISABLE_CACHE ensures that the scanner will not write cache data to $HOME. BUGS
Report bugs at in the glib product and introspection component. HOMEPAGE and CONTACT AUTHORS
Johan Dahlin g-ir-scanner(1)
Man Page

Featured Tech Videos