From cadd6f77df5ad2f93d1c494525db8a192bed87b5 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 30 Nov 2010 00:35:51 +0000 Subject: * 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. --- src/driver/utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/driver/utils.h') 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); -- cgit v1.2.3