aboutsummaryrefslogtreecommitdiff
path: root/src/driver/utils.h
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-11-30 00:35:51 +0000
committerdos-reis <gdr@axiomatics.org>2010-11-30 00:35:51 +0000
commitcadd6f77df5ad2f93d1c494525db8a192bed87b5 (patch)
tree1662ed293232382d988bac5e9c2fea089ea80b07 /src/driver/utils.h
parenteadaa332441dbb0bbc710e4803cd73970859cc1f (diff)
downloadopen-axiom-cadd6f77df5ad2f93d1c494525db8a192bed87b5.tar.gz
* etc/Makefile.in: Use the driver.
* driver/utils.c (get_suffix): New. (option_value): Likewise. (preprocess_arguments): Handle --translate and --build-databases. * driver/main.c (upgrade_environment): Change argument type to Command. Upgrade LD_LIBRARY_PATH too. * boot/translator.boot (loadSystemRuntimeCore): Don't prefix the shared library file name with the system path.
Diffstat (limited to 'src/driver/utils.h')
-rw-r--r--src/driver/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/utils.h b/src/driver/utils.h
index 10f47f79..6c55f1c0 100644
--- a/src/driver/utils.h
+++ b/src/driver/utils.h
@@ -93,6 +93,9 @@ namespace OpenAxiom {
const char* get_systemdir(int argc, char*[]);
const char* make_path_for(const char*, Driver);
+ // Return a pointer the string value associated with an option.
+ const char* option_value(const Command*, const char*);
+
int execute_core(const Command*, Driver);
void build_rts_options(Command*, Driver);