/* Copyright (c) 1993, 1994 Richard Kelsey and Jonathan Rees. See file COPYING. */ /* Modified by Olin Shivers. **************************** ** New flag set: ** \ meta-arg (a single backslash char) ** -i terminates arg scanning (necessary for scripts) */ #include #include /* I bumped this up from 1.5 Mcell because the debugging info put us over ** the top. -Olin */ #if !defined(DEFAULT_HEAP_SIZE) /* 2.5 megacell = 10 megabytes (5 meg per semispace) */ #define DEFAULT_HEAP_SIZE 2500000L #endif #if !defined(DEFAULT_STACK_SIZE) /* 2500 cells = 10000 bytes */ #define DEFAULT_STACK_SIZE 2500L #endif #if defined(STATIC_AREAS) #define DEFAULT_IMAGE_NAME NULL #else /* DEFAULT_IMAGE_NAME should be defined using the -D switch to cc. */ #if !defined(DEFAULT_IMAGE_NAME) #define DEFAULT_IMAGE_NAME "s48.image" #endif #endif /* STATIC_AREAS */ #define streq(a,b) (strcmp((a),(b))==0) char *object_file; /* specified via a command line argument */ char *reloc_file; /* dynamic loading will set this */ static char *prog_name; static void usage(void) { fprintf(stderr, "Usage: %s [meta-arg] [vm-option+] [end-option scheme-args]\n" "meta-arg: \\