| elif test $1 = --application; then |
elif test $1 = --application; then |
| application=yes |
application=yes |
| shift |
shift |
| generate="$@" |
|
| outfile=$1; shift |
outfile=$1; shift |
| |
generate="$@" |
| elif test $1 = --system; then |
elif test $1 = --system; then |
| shift |
shift |
| generate=$startup |
generate=$startup |
| outfile="@libdir@/gforth/@PACKAGE_VERSION@/gforth.fi" |
outfile="@libdir@/gforth/@PACKAGE_VERSION@/gforth.fi" |
| else |
else |
| generate="$@" |
|
| outfile=$1; shift |
outfile=$1; shift |
| |
generate="$@" |
| fi |
fi |
| tmpfile=./temp-image.fi |
tmpfile=./temp-image.fi |
| $GFORTHD --clear-dictionary --no-offset-im --die-on-signal $generate -e "savesystem $tmpfile"1" bye" |
$GFORTHD --clear-dictionary --no-offset-im --die-on-signal $generate -e "savesystem $tmpfile"1" bye" |