Previous: binfmt hints, Up: binfmt [Index]
The binfmt_misc
mechanism can be used to run both source and
compiled programs. Vicare adheres to the following rules,
which we can change by customising the files in the distribution:
;;;!vicare
. Notice that we cannot use the
sequence #!vicare
because when binfmt_misc
reads the
prefix #!
it activates the traditional shebang processing.
binfmt_misc
configuration is stored in a Bourne shell script
(/bin/sh interpreter) named rc.vicare-scheme installed in
the $(sysconfdir)/rc.d
directory. If the default configuration
is not changed, this ends up being:
/usr/local/etc/rc.d/rc.vicare-scheme
The script can be executed at system boot time and again later any number of times: at each run it resets and reinitialises the configuration for Scheme programs.
vicare
executable must be in $(bindir)
, else we
must customise the rc.vicare-scheme script.