diff --git a/runtime/ikarus b/runtime/ikarus index 2844b2b..e179f43 100755 Binary files a/runtime/ikarus and b/runtime/ikarus differ diff --git a/runtime/ikarus-main.c b/runtime/ikarus-main.c index 9345ca1..e299b7e 100644 --- a/runtime/ikarus-main.c +++ b/runtime/ikarus-main.c @@ -10,11 +10,57 @@ #include #include +/* get_option + + takes pointers to argc and argv and looks for the first + option matching opt. If one exists, it removes it from the argv + list, updates argc, and returns a pointer to the option value. + returns null if option is not found. + */ +char* +get_option(char* opt, int argc, char** argv){ + int i; + for(i=1; icollect_utime.tv_sec, diff --git a/src/Makefile b/src/Makefile index c4847d2..6f982e3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ all: ikarus.boot ikarus.boot: *.ss cp ikarus.boot ikarus.boot.back - echo '(load "makefile.ss")' | time ../runtime/ikarus ikarus.boot + echo '(load "makefile.ss")' | time ../runtime/ikarus -b ikarus.boot clean: rm -f *.fasl diff --git a/src/ikarus.boot b/src/ikarus.boot index e96991d..bfe3a4c 100644 Binary files a/src/ikarus.boot and b/src/ikarus.boot differ diff --git a/src/ikarus.boot.back b/src/ikarus.boot.back deleted file mode 100644 index 779e8d5..0000000 Binary files a/src/ikarus.boot.back and /dev/null differ