File:  [gforth] / gforth / Attic / gforth-makeimage
Revision 1.1: download - view: text, annotated - select for diffs
Tue Mar 4 17:49:49 1997 UTC (27 years, 1 month ago) by anton
Branches: MAIN
CVS tags: HEAD
added double indirect threaded version and making of fully relocatable images.
added gforth-makeimage script for making fully relocatable images.
removed locals bug in if else endif constructs.
added mmap support for machines without MAP_ANON
removed command-line options -c and -o
moved definition of DOES_HANDLER_SIZE from machine.h to forth.h.
added hpux FLUSH_ICACHE in m68k.h
made source words print decimal

#! /bin/sh
outfile=$1; shift
tmpfile=./temp-image.fi
test x$GFORTH != x || GFORTH=gforth-ditc
$GFORTH --clear-dictionary $* -e "savesystem $tmpfile"1" bye"
$GFORTH --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"
#gforth-0.2.1 -m 100000  comp-image.fs -e "comp-image $tmpfile"1" $tmpfile"2" $outfile bye"
rm $tmpfile"1" $tmpfile"2"

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