Diff for /gforth/Attic/gforth-makeimage between versions 1.1 and 1.2

version 1.1, 1997/03/04 17:49:49 version 1.2, 1997/03/11 16:00:37
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
   if test $# = 0 || test $1 = --help || test $1 = -h; then
     echo "usage: `basename $0` target-name [gforth-options]"
     echo "  environment: GFORTHD: the Gforth binary used (default: gforth-ditc)"
     echo "creates a relocatable image 'target-name'"
     exit 1
   fi
 outfile=$1; shift  outfile=$1; shift
 tmpfile=./temp-image.fi  tmpfile=./temp-image.fi
 test x$GFORTH != x || GFORTH=gforth-ditc  test x$GFORTHD != x || GFORTHD=gforth-ditc
 $GFORTH --clear-dictionary $* -e "savesystem $tmpfile"1" bye"  $GFORTHD --clear-dictionary --no-offset-im $* -e "savesystem $tmpfile"1" bye"
 $GFORTH --clear-dictionary --offset-image $* -e "savesystem $tmpfile"2" bye"  $GFORTHD --clear-dictionary --offset-image $* -e "savesystem $tmpfile"2" bye"
 ./gforth -m 100000 -p. -i ./kernel.fi startup.fs  comp-image.fs -e "comp-image $tmpfile"1" $tmpfile"2" $outfile bye"  $GFORTHD -i kernel.fi startup.fs  comp-image.fs -e "comp-image $tmpfile"1" $tmpfile"2" $outfile bye"
 #gforth-0.2.1 -m 100000  comp-image.fs -e "comp-image $tmpfile"1" $tmpfile"2" $outfile bye"  #gforth-0.2.1 -m 100000  comp-image.fs -e "comp-image $tmpfile"1" $tmpfile"2" $outfile bye"
 rm $tmpfile"1" $tmpfile"2"  rm $tmpfile"1" $tmpfile"2"

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>