From fddbf98e7fc54e93ec9899166c241620d33103f5 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 10 Jan 2011 13:08:37 +0200 Subject: [PATCH] docs: add extra section describing the env-vars. --- doc/Makefile.am | 2 +- doc/orc-docs.sgml | 1 + doc/running.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 doc/running.xml diff --git a/doc/Makefile.am b/doc/Makefile.am index 1de8cd8..770b755 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -66,7 +66,7 @@ HTML_IMAGES= # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). # e.g. content_files=running.sgml building.sgml changes-2.0.sgml -content_files=building.xml concepts.xml opcode_table.xml opcodes.xml tutorial.xml table.xml +content_files=building.xml concepts.xml opcode_table.xml opcodes.xml running.xml tutorial.xml table.xml # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded # These files must be listed here *and* in content_files diff --git a/doc/orc-docs.sgml b/doc/orc-docs.sgml index a9170ae..f8aee88 100644 --- a/doc/orc-docs.sgml +++ b/doc/orc-docs.sgml @@ -17,6 +17,7 @@ Overview + diff --git a/doc/running.xml b/doc/running.xml new file mode 100644 index 0000000..dfb0ccf --- /dev/null +++ b/doc/running.xml @@ -0,0 +1,59 @@ + + +%version-entities; + +]> + + +Running Orc Applications +3 +Orc + + + +Running Orc Applications + +How to run applications using ORC. + + + + +Running Orc Applications + + +At runtime several environment variables can be used to control ORC. + + + + <envar>ORC_DEBUG</envar> + + + This environment variable can be set to a number indicating the level for + debug logging. A value of 0 (default) results in no debug logging. The + higher the value to more detail is logged. + + + + + <envar>ORC_CODE</envar> + + + This variable can be set to a comma separated list of flags to control the + code selection and execution. Supported values are: backup, emulate and + debug. 'Backup' would instruct ORC to select the C based backup functions. + 'Emulate' will run the ORC code through an interpreter. + + + + + <envar>ORC_CPU_FLAGS</envar> + This environment variable can be used to manually specify cpu capabilities. + + + + + + + -- 2.7.4