File:  [gforth] / gforth / mkdosmf.sed
Revision 1.19: download - view: text, annotated - select for diffs
Sun Dec 13 23:29:59 1998 UTC (20 years, 11 months ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Added some documentation (files stup, blocks stub, Mini-OOF implementation)
Added Benchres for my machine
made DOS and Win32 compile and run
New gforthmi.bat script for DOS - needs a temporary file for the commands
instead of the -e option.
Added select.o again for DOS (DJGPP's select is broken wrt timing)
Improved select.c
Bug with DOS: engine-ditc doesn't compile with optimization on. Maybe I need
to get a new GCC version for DOS?

    1: # We use the bash and shell and file utilities with dos
    2: s%SHELL%# SHELL%g
    3: # s% rm% del%g
    4: # s% cp% copy%g
    5: s% ln -s% cp%g
    6: s%@mach_h@%386%g
    7: s%-pipe %%g
    8: s% ./gforth% gforth%g
    9: s%io.o %%g
   10: s%-DDEFAULTPATH=\\".*"%%g
   11: s%@kernel_fi@%kernl32l.fi%g
   12: s%@KERNEL@%kernl16l.fi kernl16b.fi kernl32l.fi kernl32b.fi kernl64l.fi kernl64b.fi%g
   13: s%@LIBOBJS@%ecvt.o io.o strsig.o getopt.o getopt1.o select.o%g
   14: s%@host@%dos%g
   15: s%@CC@%gcc%g
   16: s%@GFORTH_EXE@%coff2exe $@%g
   17: s%@GFORTHDITC_EXE@%coff2exe $@%g
   18: s%@INSTALL@%install-sh%g
   19: s%@INSTALL_PROGRAM@%install-sh%g
   20: s%@INSTALL_DATA@%install-sh%g
   21: s%@LN_S@%copy%g
   22: s%@CFLAGS@%-fforce-mem -fforce-addr -fomit-frame-pointer%g
   23: s%@ENGINE_FLAGS@%%g
   24: s%@DEFS@%%g
   25: s%@DEBUGFLAG@%%g
   26: s%@LDFLAGS@%%g
   27: s%@GCCLDFLAGS@%%g
   28: s%@LIBS@%-lm -lpc%g
   29: s%@prefix@%%g
   30: s%@exec_prefix@%%g
   31: s%@srcdir@%.%g
   32: s%@LINK_KERNL@%-$(CP) kernl32l.fi kernel.fi%g
   33: s%@PATHSEP@%;%g
   34: s%-fforce-mem -fforce-addr %%g
   35: s%echo ": version-string s\\" $(VERSION)\\" ;" > kernel/version.fs%$(CP) version.fs1 kernel\\version.fs%g
   36: s%config.h.in ../config.status%%g
   37: s%cd .. && CONFIG_FILES=$@ CONFIG_HEADERS=engine/config.h ./config.status%echo I hope you configured your system%g
   38: s%$(FORTHPATH)$(PATHSEP)%%g
   39: s%@FORTHSIZES@%%g
   40: s%test x'$(VERSION)' = x`cat $@` || %%g
   41: s%--clear-dictionary%-c%g
   42: s%.$(PATHSEP)$(srcdir)%.%g
   43: # s% -I$(srcdir)%%g
   44: s%GFORTHD="./gforth-ditc -p .* $(srcdir)/%%g
   45: s%gforth-ditc%gforth-d%g
   46: s%engine-ditc%engine-d%g
   47: s%main-ditc%main-d%g
   48: s%@OSCLASS@%dos%g
   49: s%@machine@%386%g
   50: s%@VERSION@%0.4.0%g
   51: s%@EXE@%.exe%g
   52: s%cd engine && $(MAKE)%$(MAKE) -C engine%g
   53: s%\(CFLAGS2.*\) -O4%\1%g

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